nvm use 16.10.0
You will see the following message & error
Compiled 1 Solidity file successfully
Deploying samlpe...
ProviderError: too many arguments, want at most 1
it works fine
APOTHEM_RPC_URL=https://erpc.apothem.network
MAINNET_RPC_URL=https://rpc.xinfin.network
PRIVATE_KEY=ENTER YOUR PRIVATE KEY