paola@LAPTOP-OSIKATASVWL:~/resma-medical-clinic/src$ dfx identity deploy-wallet 74t2q-oyaaa-aaaao-qjv5a-cai --network ic
WARN: The default identity is not stored securely. Do not use it to control a lot of cycles/ICP. Create a new identity with dfx identity new
and use it in mainnet-facing commands with the --identity
flag
Creating a wallet canister on the ic network.
Error: The wallet canister “74t2q-oyaaa-aaaao-qjv5a-cai” already exists for user “default” on “ic” network.
paola@LAPTOP-OSIKATASVWL:~/resma-medical-clinic/src$ dfx wallet balance --network ic
WARN: The default identity is not stored securely. Do not use it to control a lot of cycles/ICP. Create a new identity with dfx identity new
and use it in mainnet-facing commands with the --identity
flag
Error: Failed to setup wallet caller.
Caused by: No wallet configured for combination of identity ‘default’ and network ‘ic’
To get out of the inconsistent state, please delete ~/.config/dfx/identity/default/wallets.json
and try to redeploy the wallet. You can also have a look over here where someone ran into the same issue.