metaplex-foundation / metaplex

A directory of what the Metaplex Foundation works on!
https://metaplex.com
Apache License 2.0
3.32k stars 6.26k forks source link

[Bug]: candy machine upload crashed #2019

Closed nikolala13 closed 2 years ago

nikolala13 commented 2 years ago

Which package is this bug report for?

candy machine cli

Issue description

image I have this error when I try to upload cmv2

Command

ts-node ./metaplex/js/packages/cli/src/candy-machine-v2-cli.ts upload -e devnet -k ./config/.config/solana/devnet.json -cp ./config.json ./assets

Relevant log output

wallet public key: 4foTFditgfNFG7EjX6VFcXC9X3kWM9sY2w8sA7V79AQ1
C:\Users\amate\NFT\metaplex\js\packages\cli\src\candy-machine-v2-cli.ts:203
      throw new Error(
            ^
Error: max number (1) cannot be smaller than the number of images in the source folder (5)
    at Command.<anonymous> (C:\Users\amate\NFT\metaplex\js\packages\cli\src\candy-machine-v2-cli.ts:203:13)
    at processTicksAndRejections (node:internal/process/task_queues:96:5)

Operating system

Windows 10

Priority this issue should have

Medium (should be fixed soon)

Check the Docs First

stegaBOB commented 2 years ago

Looks like you have set the number of items to 1 in the config file. That should be the number of nfts in your candy machine.

rust-master commented 2 years ago

I'm facing an issue, I have 100 artworks and their metadata. When I command upload ts-node candy-machine-v2-cli.ts upload -e devnet -k ~/.config/solana/id.json -cp ~/metaplex/js/packages/cli/config.json -c example ./assets it gives an error : Error: max number (10) cannot be smaller than the number of images in the source folder (15)

But in config file it is -> "number": 15,

github-actions[bot] commented 2 years ago

This Issue has received no activity for 30 days. We will close it in 2 days, please reopen if you are still experiencing this issue.