Getting the following error on install:
gyp ERR! build error
gyp ERR! stack Error: make failed with exit code: 2
gyp ERR! stack at ChildProcess.onExit (/home/netogerbi/.npm-global/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:194:23)
gyp ERR! stack at ChildProcess.emit (events.js:193:13)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:255:12)
gyp ERR! System Linux 4.9.0-11-amd64
gyp ERR! command "/usr/bin/node" "/home/netogerbi/.npm-global/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /home/netogerbi/workspaces/nodejs/node-advanced-concepts/pm2-tests/node_modules/webworker-threads
gyp ERR! node -v v11.15.0
gyp ERR! node-gyp -v v5.0.5
gyp ERR! not ok
npm WARN express-setup@1.0.0 No description
npm WARN express-setup@1.0.0 No repository field.
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! webworker-threads@0.7.17 install: node-gyp rebuild
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the webworker-threads@0.7.17 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! /home/netogerbi/.npm/_logs/2020-01-14T23_37_22_158Z-debug.log
Getting the following error on install: gyp ERR! build error gyp ERR! stack Error:
make
failed with exit code: 2 gyp ERR! stack at ChildProcess.onExit (/home/netogerbi/.npm-global/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:194:23) gyp ERR! stack at ChildProcess.emit (events.js:193:13) gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:255:12) gyp ERR! System Linux 4.9.0-11-amd64 gyp ERR! command "/usr/bin/node" "/home/netogerbi/.npm-global/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild" gyp ERR! cwd /home/netogerbi/workspaces/nodejs/node-advanced-concepts/pm2-tests/node_modules/webworker-threads gyp ERR! node -v v11.15.0 gyp ERR! node-gyp -v v5.0.5 gyp ERR! not ok npm WARN express-setup@1.0.0 No description npm WARN express-setup@1.0.0 No repository field.npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! webworker-threads@0.7.17 install:
node-gyp rebuild
npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the webworker-threads@0.7.17 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! /home/netogerbi/.npm/_logs/2020-01-14T23_37_22_158Z-debug.log
On debian 9 and node-gyp@6.1.0