sugar icon indicating copy to clipboard operation
sugar copied to clipboard

[Bug]: Cannot deploy without a collection

Open 21e8 opened this issue 1 year ago • 6 comments

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 avatar Nov 14 '24 17:11 21e8

might fix this myself

21e8 avatar Nov 14 '24 17:11 21e8

Candy Machines from V3 require using a collection

Screenshot 2024-11-14 at 9 14 53 AM

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

samuelvanderwaal avatar Nov 14 '24 18:11 samuelvanderwaal

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

21e8 avatar Nov 14 '24 21:11 21e8

yes, that question probably could be removed.

MarkSackerberg avatar Dec 06 '24 23:12 MarkSackerberg

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

21e8 avatar Dec 11 '24 19:12 21e8

there we go, now also signed

21e8 avatar Dec 12 '24 09:12 21e8