Skip to content

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

Open
jharrower84 wants to merge 6 commits into
IAmJaysWay:mainfrom
ericlam1114:main
Open

TypeError: Cannot read properties of undefined (reading 'map')#10
jharrower84 wants to merge 6 commits into
IAmJaysWay:mainfrom
ericlam1114:main

Conversation

@jharrower84

Copy link
Copy Markdown

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?!

@boshjerns

Copy link
Copy Markdown

did you ever find a solution to this? stuck here

@jharrower84

jharrower84 commented Mar 20, 2022 via email

Copy link
Copy Markdown
Author

@boshjerns

Copy link
Copy Markdown

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants