question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Cannot read property 'some' of undefined

See original GitHub issue

Receiving this message from the console when trying to run the gltfjsx command both locally and remotely. Seems it has to do with jsdom’s whatwg-url dependency. It also seems to work only when running version 1.0.0 of gltfjsx

Cannot read property 'some' of undefined

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:5
  • Comments:8 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
andrescrdcommented, Aug 24, 2020

It has not worked for me with a clone of the project. I removed the last parentheses of line 2 of the file “gltfjsx.js” and it started working

change this require (‘jsdom-global’) ()

for this require (‘jsdom-global’)

1reaction
giuliozcommented, Aug 24, 2020

…and I confirm that fixing the lockfile to force the 8.0.0 versions fixes the bug.

Sorry for the investigation comments spam

Read more comments on GitHub >

github_iconTop Results From Across the Web

Cannot Read Property of Undefined in JavaScript - Rollbar
What Causes TypeError: Cannot Read Property of Undefined ... Undefined means that a variable has been declared but has not been assigned a...
Read more >
TypeError: Cannot read property 'some' of undefined
javascript - I keep getting this error "TypeError: Cannot read property 'some' of undefined" - Stack Overflow. Stack Overflow for Teams – Start ......
Read more >
Uncaught TypeError: Cannot read property of undefined In
JavaScript TypeError is thrown when an operand or argument passed to a function is incompatible with the type expected by that operator or...
Read more >
[2.6.0] TypeError: Cannot read property 'some' of undefined ...
Description Just tried to update apollo-server-express from 2.5.1 → 2.6.0 but it's failing with the following: TypeError: Cannot read ...
Read more >
Uncaught TypeError: Cannot read property 'some' of undefined
Uncaught TypeError : Cannot read property of undefined error is probably easiest to understand from the perspective of undefined, since undefined ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found