metaplex-foundation / mpl-candy-machine

Mint your NFT collection on Solana
https://developers.metaplex.com/candy-machine
Other
73 stars 58 forks source link

Missing collection item in cache #39

Closed rorocabrera closed 1 year ago

rorocabrera commented 1 year ago

have followed all steps in this guide https://docs.metaplex.com/developer-tools/sugar/tutorials/my-first-candy-machine

but get this error everytime i run sugar deploy

Error running command (re-run needed): Missing collection item in cache

this is what my config looks like :

Screenshot from 2023-06-16 09-53-05

in the cache file there are 6 items from 0 to 5 similar to what the example in the guide looks like.

Any ideas what can be happening? thanks

samuelvanderwaal commented 1 year ago

The link you posted is for Candy Machine V2, but Sugar creates Candy Machine V3 and your config is for CMV3.

Screenshot 2023-06-16 at 9 02 58 AM

Click the link to go to the newer tutorial and follow that. It will explain that you need the collection NFT files in the assets directory as CMV3 requires mints to have collections associated with them. If you run into trouble with that, post on the Metaplex Discord: https://discord.gg/metaplex