-
Notifications
You must be signed in to change notification settings - Fork 3k
Incompatible with versions of NodeJS under 6.0.0 #20425
Comments
If intentional, we may need to update the README to reflect that |
We dropped support for |
@zkat could you update the README? Right now, it explicitly states support for node v4. |
@nfischer: you wanna PR that? :) |
Ref: #20425 PR-URL: #20550 Credit: @legodude17 Reviewed-By: @zkat
Hi @fabian3087, I'm not really sure I understand how the two scenarios are related ... but if I can help you with anything just let me know :) |
Running: If npm 6 is not compatible with node 5 then generic npm upgrade command shouldn't install it or should install latest compatible version rather than breaking the installation with something that cannot be used.. |
What's the solution for this? I'm not able to update node nor revert to older version of npm! |
Reinstall node from the website (I recommend the latest version). |
Yup. You have to uninstall the node and install it again. And probably later you will have to catch and install all global packages that were used by your projects. That's how bad this small, ignored bug is. |
@QuietNoise How exactly is this a bug? |
Read my previous comment #20425 (comment) and ask yourself how is this not a bug? A regular command destroys the entire installation and leaves a user without a non destructive way to reverse it. The bug is in not having a simple version or flag check that would prevent installing a major software component that is incompatible with core platform that is installing it. To reiterate: Let me put you into perspective of every Node 5 user:
The result of this command is completely against any expectation of every Node 5 user who will run it. As a software developer you can’t expect that end user will understand your software internals and predict unexpected destructive behaviour. Hence, I reckon it is a bug. |
Uh oh!
There was an error while loading. Please reload this page.
I'm opening this issue because:
What's going wrong?
Apparently, the
6.0.0
version of npm is incompatible with NodeJS under6.0.0
and crashes with the following stacktrace:How can the CLI team reproduce the problem?
6.0.0
and npm at6.0.0
;npm -v
.Context:
OS:
Linux / Archlinux
Env:
envirius
NodeJS versions that are failling:
4.1.0
,4.1.1
,4.1.2
,4.2.0
,4.2.1
,4.2.2
,4.2.3
,4.2.4
,4.2.5
,4.2.6
,4.3.0
,4.3.1
,4.3.2
,4.4.0
,4.4.1
,4.4.2
,4.4.3
,4.4.4
,4.4.5
,4.4.6
,4.4.7
,4.5.0
,4.6.0
,4.6.1
,4.6.2
,4.7.0
,4.7.1
,4.7.2
,4.7.3
,4.8.0
,4.8.1
,4.8.2
,4.8.3
,4.8.4
,4.8.5
,4.8.6
,4.8.7
,4.9.0
,4.9.1
,5.0.0
,5.1.0
,5.1.1
,5.2.0
,5.3.0
,5.4.0
,5.4.1
,5.5.0
,5.6.0
,5.7.0
,5.7.1
,5.8.0
,5.9.0
,5.9.1
,5.10.0
,5.10.1
,5.11.0
,5.11.1
,5.12.0
.The text was updated successfully, but these errors were encountered: