sugar
sugar copied to clipboard
[Bug]: Cannot deploy without a collection
Issue description
- set up only nft files, no collection config
- run
sugar launch - when asked
Do you want to continue without automatically setting the candy machine collection?selecty
Relevant log output
▪▪▪▪▪ Validating 1000 metadata file(s)...
Validation complete, your metadata file(s) look good.
>>> sugar upload
[1/4] 🗂 Loading assets
Found 1000 asset pair(s), uploading files:
+--------------------+
| images | 0 |
| metadata | 0 |
+--------------------+
....no files need uploading, skipping remaining steps.
1000/1000 asset pair(s) uploaded.
>>> sugar deploy
🛑 Error running command (re-run needed): Missing collection item in cache
Priority this issue should have
Medium (should be fixed soon)
might fix this myself
Candy Machines from V3 require using a collection
https://developers.metaplex.com/candy-machine/settings
So we can get rid of the prompt (Do you want to continue without automatically setting the candy machine collection) and exit right away? Cause that I can do.
would do in https://github.com/metaplex-foundation/sugar/pull/492 which is kinda related
yes, that question probably could be removed.
since v2+ of sugar doesn't do CM V2 anymore I think we can safely do this:
https://github.com/metaplex-foundation/sugar/pull/499
Idk why but I cannot make commit signing work rn, will retry wen i have time
there we go, now also signed