-
Notifications
You must be signed in to change notification settings - Fork 149
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 install error #116
Comments
I too am receiving this error upon trying to install the package: gyp WARN install got an error, rolling back install npm ERR! [email protected] install: Any idea of what we can do about this, Audrey? I'd love to give this a try! |
Same here but with different versions of npm/node. Zipped log attached. Platform is Win10. |
For the Windows people here: It’s hard to tell from your debug outputs, but if you’re unsure whether you have a compiler installed, you may want to try installing https://www.npmjs.com/package/windows-build-tools. |
@addaleax - Thanks. I completely forgot I this is a clean box. Gotta love WIndows... |
Well, bummer. Looks like a bona fide build error:
|
@kferrio |
@addaleax -- will do. I'm at npm 3.10.3 and I've gotten complacent since the "bad old days" of a few years ago because node-gyp has been so remarkably stable of late! I'll report back. UPDATE: Well I guess this just isn't my day. :) I updated to npm 3.10.8 and now I get past the compile but the link fails:
It's been about a decade since I debugged delay-loaded DLLs, but I remember enough to know that this could make for a long day. Thanks for your help. I'm going to get more coffee and contemplate how I want to spend the afternoon. :) Thanks! UPDATE 2: Hold on! Not the fault of node-webworker-threads! I grabbed a fresh copy of the node-webworker-threads repo (v0.7.8) and the node-gyp rebuild worked fine. But @addaleax I apologize for the misdirection but really appreciate all your help! Thanks very much! |
@kferrio glad things at least kind of worked out for you! :) |
Needs documentation |
From last 2 days, I am trying to solve. I did all the things mentioned here still getting error, Frustrating now :( Log:
|
I marked this as help wanted for windows. I hope to try this on Windows next week but cannot promise for sure. |
I understand, sorry :) please help guys :D |
I really liked ur approach, but now we are in production. It hard to upgrade our development environment :( everyone expecting a solution.. Please solve it :) |
^^^ This might help. I spent a couple of hours trying to figure this stuff out on Windows once and quit as I have the option to use a CentOS server for my project (no problems building node-gyp). I know that might not make you feel any better, but that's my 2 cents! |
always get this failure no matter in what kind of windows env..it is really trouble and look for solution here. :) gyp ERR! System Windows_NT 10.0.10586 npm ERR! [email protected] install: |
Webworker-threads module are not found after install, the module is added in node_modules and then is automatically removed from the list, also the npm throw a lot of errors. |
any solution ? i had the same error but in linux .. |
@stepanrafael please see @addaleax comment. |
similar issue on linux:
I have python v2.7.17 and python3 v3.7.5 |
any solution? |
@audreyt
I don't what happend , when I use npm install webworker-threads,
There are so many errors, as bellow:
make: *** [Release/obj.target/WebWorkerThreads/src/WebWorkerThreads.o] Error 1
make: Leaving directory
/mnt/www/nrj_app/node_modules/webworker-threads/build' gyp ERR! build error gyp ERR! stack Error:
make` failed with exit code: 2gyp ERR! stack at ChildProcess.onExit (/usr/local/node-v4.4.7-linux-x64/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:276:23)
gyp ERR! stack at emitTwo (events.js:87:13)
gyp ERR! stack at ChildProcess.emit (events.js:172:7)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:200:12)
gyp ERR! System Linux 3.14.23
gyp ERR! command "/usr/local/node-v4.4.7-linux-x64/bin/node" "/usr/local/node-v4.4.7-linux-x64/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /mnt/www/nrj_app/node_modules/webworker-threads
gyp ERR! node -v v4.4.7
gyp ERR! node-gyp -v v3.3.1
gyp ERR! not ok
npm ERR! Linux 3.14.23
npm ERR! argv "/usr/local/node-v4.4.7-linux-x64/bin/node" "/usr/local/node-v4.4.7-linux-x64/bin/npm" "install" "webworker-threads"
npm ERR! node v4.4.7
npm ERR! npm v2.15.8
npm ERR! code ELIFECYCLE
npm ERR! [email protected] install:
node-gyp rebuild
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] install script 'node-gyp rebuild'.
npm ERR! This is most likely a problem with the webworker-threads package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node-gyp rebuild
npm ERR! You can get information on how to open an issue for this project with:
npm ERR! npm bugs webworker-threads
npm ERR! Or if that isn't available, you can get their info via:
npm ERR!
npm ERR! npm owner ls webworker-threads
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR! /mnt/www/nrj_app/node_modules/npm-debug.log
system version:Red Hat Enterprise Linux Server release 6.2 X64
node.js version:4.4.7
node-gyp version:3.4.0
The text was updated successfully, but these errors were encountered: