I’m encountering a frustrating issue while deploying my frontend on mainnet.
When I deploy the application locally, everything works perfectly, and I’m able to interact with all features. However, when I deploy it on the mainnet, the following problems occur:
I tried to reinstall the canister but the frontend behaves unexpectedly. For example, when I press the “Connect to Wallet” button, it redirects to the local Internet Identity (II) instead of the mainnet version.
Has anyone faced a similar issue or knows how to resolve this?
i tried to execute the file but it gives me this error ./download.sh: line 13: jq: command not found
./download.sh: line 14: jq: command not found
curl: (3) URL using bad/illegal format or missing URL
Error: Failed to download
./download.sh: line 13: jq: command not found
./download.sh: line 14: jq: command not found
curl: (3) URL using bad/illegal format or missing URL
Error: Failed to download
./download.sh: line 13: jq: command not found
./download.sh: line 14: jq: command not found
curl: (3) URL using bad/illegal format or missing URL
Error: Failed to download
i have executed the file but this solution does not work with me , so untill the bug being fixed what should i do ? i there a solution or i have to create new canister or what !!
in the prebuild step, for remote canisters dfx should download the canister’s candid file and put it in the place where the error says it’s not found. For some reason this doesn’t happen for remote canisters. The script I linked you to didn’t do that right in this case. If you ask an LLM to fix it for you together with the error it may be able to fix it for you