create-10k-nft-collection icon indicating copy to clipboard operation
create-10k-nft-collection copied to clipboard

[Bug]: need help with mint.js says contract has token id

Open littledaze7373 opened this issue 3 years ago • 2 comments

Version

  • [X] Yes

General Question

  • [X] No

What happened?

A bug happened! When I run mint.js it has a problem with token id and says to use a new one

What have you tried?

I Googled and asked the community in the discord server but could not find a solution.

Relevant log output

No response

Protect your information

  • [X] I Agree

littledaze7373 avatar Feb 13 '22 19:02 littledaze7373

Says contract already has given token id. It must be unique id inside contract please use another id

littledaze7373 avatar Feb 13 '22 19:02 littledaze7373

The code currently doesn't skip an item that has been minted already. It will get stuck. You can remove the object from the _ipfsMetas.json array so that when the mint runs, it won't try to mint it again.

thepeanutgalleryandco avatar Feb 18 '22 17:02 thepeanutgalleryandco