Deploying to icp mainnet

I am trying to deploy my backend canisters on mainnet but getting this. i have 10 trillion cycles though. I am running this from root of my project. deploying works on local w/0 any issues.

Error: Failed while trying to deploy canisters.
Caused by: Failed while trying to register all canisters.
Caused by: Failed to create canister ‘User’.
Caused by: Failed to create canister via cycles ledger.
Caused by: Failed to figure out subnet to create canister on.
Caused by: unable to determine subnet: Canister is not assigned to any subnet.

Can you share the full command you are running? I suspect you’re using --next-to <canister> with a canister id from the local network, which would not work