-
Notifications
You must be signed in to change notification settings - Fork 29.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
npm does not support Node.js v9.0.0 #16649
Comments
I can confirm similar failure on CentOS.
|
Have the same problem on Win 10, x64 npm WARN npm npm does not support Node.js v9.0.0 |
@adrianchia are you using the version of npm that came bundled with node? The current upstream version of npm does not work with Node.js 9.x which is why we floated b8888f5 and 9f33a24 Is it possible you are not using the bundled version of npm? /cc @nodejs/npm |
If you have npm updated from bundled with node, just remove it manually from global packages. |
@nodejs/collaborators Do you think it makes sense to keep this open until npm fixes this upstream? If so it may make sense to lock this issue and make a comment in the OP with the solution |
failed on Ubuntu 16.10 as well
|
I am confirming it failed also on Ubuntu 16.04.3 LTS |
There's a workaround posted in npm/npm#19019 (comment) by @addaleax
|
@amritk : I got the same error here:
And another issue with natural and webworker-threads at audreyt/node-webworker-threads#169 It looks like there are many packages need to be upgraded to catch up Node.js 9 serie. |
Looks like npm doesn't work with Node v9: nodejs/node#16649
I can confirm similar failure on Travis CI Linux trusty stable using npm latest $ node --version
v9.0.0
$ npm --version
5.5.1
$ nvm --version
0.33.6
before_install
13.91s$ npm install -g npm@latest
/home/travis/.nvm/versions/node/v9.0.0/bin/npm -> /home/travis/.nvm/versions/node/v9.0.0/lib/node_modules/npm/bin/npm-cli.js
/home/travis/.nvm/versions/node/v9.0.0/bin/npx -> /home/travis/.nvm/versions/node/v9.0.0/lib/node_modules/npm/bin/npx-cli.js
+ npm@5.5.1
updated 2 packages in 13.185s
124.56s$ npm install
npm WARN npm npm does not support Node.js v9.0.0
npm WARN npm You should probably upgrade to a newer version of node as we
npm WARN npm can't make any promises that npm will work with this version.
npm WARN npm Supported releases of Node.js are the latest release of 4, 6, 7, 8.
npm WARN npm You can find the latest version at https://nodejs.org/
/home/travis/.nvm/versions/node/v9.0.0/bin/node[2758]: ../src/node_zlib.cc:430:static void node::{anonymous}::ZCtx::Init(const v8::FunctionCallbackInfo<v8::Value>&): Assertion `args.Length() == 7 && "init(windowBits, level, memLevel, strategy, writeResult, writeCallback," " dictionary)"' failed.
1: node::Abort() [npm]
2: node::Assert(char const* const (*) [4]) [npm]
3: 0x1251ea1 [npm]
4: v8::internal::FunctionCallbackArguments::Call(void (*)(v8::FunctionCallbackInfo<v8::Value> const&)) [npm]
5: 0xb74c3c [npm]
6: v8::internal::Builtin_HandleApiCall(int, v8::internal::Object**, v8::internal::Isolate*) [npm]
7: 0x249eff1842fd
/home/travis/.travis/job_stages: line 236: 2758 Aborted (core dumped) npm install |
FWIW if you don't mind using NodeJS v8.9.0 on Travis CI, you can do |
Done. |
This is fixed |
ATTN: Go here for a workaround: npm/npm#19019 (comment)
After installing Node.js v9.0.0 on Windows 10 x64, npm returns the following message:
The text was updated successfully, but these errors were encountered: