Rarity-Ranking-NFT icon indicating copy to clipboard operation
Rarity-Ranking-NFT copied to clipboard

TypeError: Cannot read properties of undefined (reading 'map')

Open jharrower84 opened this issue 3 years ago • 3 comments

Running the node gets right to the last NFT in the collection in the 500 increments but as it gets to the end, I get this error:

file:///Users/xxx/Desktop/Rarity-Ranking-NFT/generator/main.js:54 let nftTraits = metadata[j].map((e) => e.trait_type); ^

TypeError: Cannot read properties of undefined (reading 'map') at generateRarity (file:///Users/xxx/Desktop/Rarity-Ranking-NFT/generator/main.js:54:29) at processTicksAndRejections (node:internal/process/task_queues:96:5)

Any ideas?!

jharrower84 avatar Feb 20 '22 10:02 jharrower84

did you ever find a solution to this? stuck here

boshjerns avatar Mar 20 '22 16:03 boshjerns

Nope, afraid not.

On Sunday, 20 March 2022, 16:57:58 GMT, boshjerns ***@***.***> wrote:  

did you ever find a solution to this? stuck here

— Reply to this email directly, view it on GitHub, or unsubscribe. Triage notifications on the go with GitHub Mobile for iOS or Android. You are receiving this because you authored the thread.Message ID: @.***>

jharrower84 avatar Mar 20 '22 17:03 jharrower84

Nope, afraid not. On Sunday, 20 March 2022, 16:57:58 GMT, boshjerns @.> wrote: did you ever find a solution to this? stuck here — Reply to this email directly, view it on GitHub, or unsubscribe. Triage notifications on the go with GitHub Mobile for iOS or Android. You are receiving this because you authored the thread.Message ID: @.>

Its really too bad that Moralis is not giving this any attention because this is by far one of the most useful tools in the space right now. Registering on rarity tools to accomplish the same goal is very very expensive

boshjerns avatar Mar 20 '22 17:03 boshjerns