audreyt / node-webworker-threads

Lightweight Web Worker API implementation with native threads
https://npmjs.org/package/webworker-threads
Other
2.3k stars 149 forks source link

npm install not working on windows 10 #179

Open JeffrieSaenz opened 6 years ago

JeffrieSaenz commented 6 years ago

Gestor-de-notificaciones-master\Gestor\node_modules\fsevents\node_modules\getpass\node_modules' } npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! webworker-threads@0.7.13 install: node-gyp rebuild npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the webworker-threads@0.7.13 install script. npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in: npm ERR! C:\Users\Vivi\AppData\Roaming\npm-cache_logs\2018-03-18T03_44_16_892Z-debug.log

Jsnows commented 6 years ago

me too

SL-A-SH commented 6 years ago

Same for me.

EduardoLarios commented 6 years ago

Happening to me as well, using the WSL running Ubuntu.

MeikelLP commented 6 years ago

Installing node-gyp requirements (including reboot) fixed it for me:

npm install --global --production windows-build-tools

Seems like the node-gyp requires python 2.7 (I have 3.x installed) & c++ build tools from VS.

TheL1ne commented 6 years ago

the windows build tools were missing for me but now I get:

LINK : fatal error LNK1194: cannot delay-load 'node.exe' due to import of data symbol '"__declspec(dllimport) const v8::ArrayBuffer::Allocator::`vftable'" (__imp_??_7Allocator@ArrayBuffer@v8@@6B@)';
link without /DELAYLOAD:node.exe [C:\Users\noah\node_modules\webworker-threads\build\WebWorkerThreads.vcxproj]

Which still fails the installation

aaely commented 6 years ago

I am getting the same issue TheL1ne is getting

garymathews commented 6 years ago

I've pushed a PR to address this issue: https://github.com/audreyt/node-webworker-threads/pull/187