Closed Chrissyticky closed 2 years ago
are you using the latest version of candy-machine-ui?
Having the same issue @Chrissyticky
What is your GoLiveDate in configuration?
If it is set to "Null", that's probably why. Try setting a past date (ex. "25 Dec 2021 00:00:00 GMT"), and then run the update command:
ts-node ~/metaplex/js/packages/cli/src/candy-machine-v2-cli.ts update_candy_machine \ -e devnet \ -k ~/.config/solana/devnet.json \ -cp config.json \ -c example
What is your GoLiveDate in configuration?
If it is set to "Null", that's probably why. Try setting a past date (ex. "25 Dec 2021 00:00:00 GMT"), and then run the update command:
ts-node ~/metaplex/js/packages/cli/src/candy-machine-v2-cli.ts update_candy_machine -e devnet -k ~/.config/solana/devnet.json -cp config.json -c example
I've done this 15 times already.. still no luck.. I've even restarted the process from scratch and met with the same issue.
Having the same issue @Chrissyticky
Were you able to resolve it?
are you using the latest version of candy-machine-ui?
I would assume so.. I downloaded the latest version. I've tried this process multiple times. Still no luck. :(
Having the same issue @Chrissyticky
Were you able to resolve it?
No, I also have the mint date set correctly. Still trying to troubleshoot. I also tried removing the gatekeeper and changing to arweave instead of arweave-sol. Neither worked.
@Chrissyticky found the error. the .env rpc host needs to be set to REACT_APP_SOLANA_RPC_HOST=https://api.mainnet-beta.solana.com instead of REACT_APP_SOLANA_RPC_HOST=https://explorer-api.mainnet-beta.solana.com
@Chrissyticky found the error. the .env rpc host needs to be set to REACT_APP_SOLANA_RPC_HOST=https://api.mainnet-beta.solana.com instead of REACT_APP_SOLANA_RPC_HOST=https://explorer-api.mainnet-beta.solana.com
Mine is
REACT_APP_SOLANA_NETWORK=devnet REACT_APP_SOLANA_RPC_HOST=https://api.devnet.solana.com
I'm on devnet.. it didn't work for me :(
@Chrissyticky found the error. the .env rpc host needs to be set to REACT_APP_SOLANA_RPC_HOST=https://api.mainnet-beta.solana.com instead of REACT_APP_SOLANA_RPC_HOST=https://explorer-api.mainnet-beta.solana.com
@kevinh1534 Have you checked on devnet or had this issue on devnet?
I have the exact same problem;... Im on Devnet
update REACT_APP_CANDY_MACHINE_ID with candyMachine string from cache devnet-example.json file, and only then run yarn install && yarn start
had the same issue, also on devnet, my candy machine instance was undefined looks like yours is as well
I was able to fix this on the local host by changing the RPC_HOST=https://api.mainnet-beta.solana.com also ran an update on CMv2 and new yen build of React App.
But unfortunately about hosting on the web the issue magically returns...
update REACT_APP_CANDY_MACHINE_ID with candyMachine string from cache devnet-example.json file, and only then run
yarn install && yarn start
had the same issue, also on devnet, my candy machine instance was undefined looks like yours is as well
This is most likely the issue.
My solution to the mint button not working was that I needed to send the yarn build && yarn start command and after that the mint button worked
@BHALEYART you're right as soon as you host the build on a web server the mint button automatically stops working
Ok so this is is RESOLVED:
Do not use Devnet, or Mainnet Api for the RPC section.
My issue: Quiknode RPC I bought wasn't actually working even though it was connected. using solana mainnet endpoint only worked on Local host but would not on vercel.
To fix I used this RPC endpoint: https://ssc-dao.genesysgo.net You only need to save edits to the file and use "yarn build" to fix the issue. New repository push, new vercel deployment and you're good to go.
Other common issues:
-Not using an RPC period. -On the wrong api network (devnet/mainnet). -People forget to remove "< >" and simply put their config from the cache inside the brackets.
Remember if you solve something to come back and tell others or we are part of a vicious cycle.
@victorajayi
I've also only had success using Genesys.go nodes. Best part is, they're free! Really smart guys over at their Discord.
Minting Error After executing the following command metaplex\js\packages\candy-machine-ui>yarn start
I get the attached error:
I've tried removing all the dependencies and reinstalling but it hasn't worked. I was using Edge browser but switched to chrome and still, the issue is the same..
My env file is filled out correctly and so is my config file.