metaplex-foundation/sugar

[Bug]: Cannot deploy without a collection

Opened this issue · 6 comments

21e8 commented

Issue description

  1. set up only nft files, no collection config
  2. run sugar launch
  3. when asked Do you want to continue without automatically setting the candy machine collection? select y

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)

21e8 commented

might fix this myself

Candy Machines from V3 require using a collection

Screenshot 2024-11-14 at 9 14 53 AM

https://developers.metaplex.com/candy-machine/settings

21e8 commented

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 #492 which is kinda related

yes, that question probably could be removed.

21e8 commented

since v2+ of sugar doesn't do CM V2 anymore I think we can safely do this:

#499

Idk why but I cannot make commit signing work rn, will retry wen i have time

21e8 commented

there we go, now also signed