node utils/rarityData.js not working #219
-
Hi, I have got the latest version set up and all works perfectly. I am having trouble with node utils/rarityData.js, it was working fine before I nested my hair and facial hair traits together. Now I get the following when I try to run it.
I confirmed that that is the issue by removing the nested hair/facial hair and just leaving hair and it worked again. I tried using Remove Trait Util but that didn't work, I had to manually remove from metadata.json file as well, is there a built in function to remove from metadata.json or another work around so I can get rarity data? Thanks |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Funny how as soon as you post a question you find the answer 🤦♂️ I used |
Beta Was this translation helpful? Give feedback.
Funny how as soon as you post a question you find the answer 🤦♂️
I used
node utils/removeTrait.js "Trait Name"
for all the additional traits that were created and then rannode utils/regenerateMetadata.js
to update the metadata.json file and now the rarity works!