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.

incompatibility with Node.js as of version 4x

See original GitHub issue

Note that as of our 4.0.0 release, jsdom no longer works with Node.js™, and instead requires io.js. You are still welcome to install a release in the 3.x series if you are stuck on legacy technology like Node.js™.

To be perfectly frank, to release this version in the wild, and to publish it on npmjs.com - the de facto source of information about community-contributed packages for Node - is grossly irresponsible in light of the incompatibility with Node.js

Those of us who use Gulp as a build system, and thus, rely on Node modules, which may in turn, rely on other Node modules, including this one, are now faced with a fatal error upon running npm install and attempting to use Gulp.

Issue Analytics

  • State:closed
  • Created 9 years ago
  • Comments:19 (7 by maintainers)

github_iconTop GitHub Comments

1reaction
kris-o3commented, Mar 3, 2015

a helpful hint following your quite-severe advisory to suggest adding:

"jsdom": "3.1.2"

to the devDependencies of package.json at the root level of a Gulp build configuration, or similar, would be surely more helpful than the advisory alone… strongly recommend doing this, lest more suffer the time i wasted, needlessly.

1reaction
kris-o3commented, Feb 27, 2015

how to easily do that isn’t exactly obvious… in my case, it was gulp-packer that was dependent upon it and now giving a fatal error. i thought i would now have to edit its package.json every time it is reinstalled. however, adding:

"jsdom": "3.1.2"

to devDependencies in the same package.json used by Gulp does resolve this issue.

Read more comments on GitHub >

github_iconTop Results From Across the Web

The engine "node" is incompatible with this module. ...
As the error says the dependencies you are installing is only meant to run in node version between 0.4.x to 0.9.0. Version for...
Read more >
Compatibility — Node.js
The following compatibility table specifies the recommended versions of the MongoDB Node.js driver for use with MongoDB. The first column lists the driver ......
Read more >
Node v4.0.0 (Current)
Node.js® is a JavaScript runtime built on Chrome's V8 JavaScript engine.
Read more >
[Resolved] Particle CLI incompatible with Node 4.X
As you can see, there's an incompatibility between the expected version of Node (0.10.x — 0.12.x) and the installed version 4.1.0.
Read more >
Example usage for existing napi addon binaries · Issue #71
js versions? I'm on Ubuntu 14.04 x64. I'm having a bit of trouble using the code here to add support for napi module...
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