Closed Pixelapesnfts closed 2 years ago
Make these changes in the package.json and yarn https://github.com/metaplex-foundation/metaplex/commit/d9a4bbde3cabef5c33f14c3a33d3d72c2938e045
Make these changes in the package.json and yarn d9a4bbd
same problem. i did it, the error remains the same
yeah i have the same problems here
Do a fresh pull. Should be fixed. Make sure to run yarn install
fresh pull from what repo ?
Yeah, dont have any idea how to fresh pull?
Yeah, dont have any idea how to fresh pull?
yeah mate , it says not a git respitory
how do u do that ? New in here sorry 😁
Do a fresh pull. Should be fixed. Make sure to run
yarn install
Why you closed this? Nobody has a solution...
Got the same error. Fixed the yarn install
error by upgrading to version 1.34.0.
BUT! When i try to mint and NFT this error pops-up:
Error: Invalid arguments: recentBlockhashes not provided. at common.ts:52:1 at Array.forEach (<anonymous>) at validateAccounts (common.ts:45:1) at Object.ix [as mintNft] (instruction.ts:24:1) at mintOneToken (candy-machine.ts:424:1) at async onMint (Home.tsx:99:1) at async onClick (MintButton.tsx:69:1)
Which comes back to this line
recentBlockhashes: anchor.web3.SYSVAR_SLOT_HASHES_PUBKEY,
Got the same error. Fixed the
yarn install
error by upgrading to version 1.34.0.BUT! When i try to mint and NFT this error pops-up:
Error: Invalid arguments: recentBlockhashes not provided. at common.ts:52:1 at Array.forEach (<anonymous>) at validateAccounts (common.ts:45:1) at Object.ix [as mintNft] (instruction.ts:24:1) at mintOneToken (candy-machine.ts:424:1) at async onMint (Home.tsx:99:1) at async onClick (MintButton.tsx:69:1)
Which comes back to this line
recentBlockhashes: anchor.web3.SYSVAR_SLOT_HASHES_PUBKEY,
please use SYSVAR_RECENT_BLOCKHASHES_PUBKEY instead off SYSVAR_SLOT_HASHES_PUBKEY
please use SYSVAR_RECENT_BLOCKHASHES_PUBKEY instead off SYSVAR_SLOT_HASHES_PUBKEY
Finally figured it out. Go to ~/metaplex/js/packages/candy-machine-ui/src/candy-machine.ts and change SYSVAR_SLOT_HASHES_PUBKEY to SYSVAR_RECENT_BLOCKHASHES_PUBKEY (line 441 for me):
recentBlockhashes: anchor.web3.SYSVAR_RECENT_BLOCKHASHES_PUBKEY,
instructionSysvarAccount: anchor.web3.SYSVAR_INSTRUCTIONS_PUBKEY,
git pull
Which package is this bug report for?
candy machine ui
Issue description
I would start my server with the command:
I have already make "Yarn install" in the candy-machine-ui folder.
The local host page also opens, but I can't click the Mint button on it.
Anybody can help me?
Command
Relevant log output
No response
Operating system
Visual Studio
Priority this issue should have
Medium (should be fixed soon)
Check the Docs First