gyp ERR! stack Error:
make
failed with exit code: 2
gyp ERR! stack at ChildProcess.onExit
(/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:262:23)
gyp ERR! stack at ChildProcess.emit (events.js:182:13)
gyp ERR! stack at Process.ChildProcess._handle.onexit
(internal/child_process.js:240:12)
gyp ERR! System Linux 4.15.0-20-generic
gyp ERR! command "/usr/local/bin/node"
"/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js"
"rebuild"
gyp ERR! cwd /home/fromakim/github/Korean_Sentiment/node_modules/java
gyp ERR! node -v v10.13.0
gyp ERR! node-gyp -v v3.8.0
gyp ERR! not ok
npm WARN korean_sentiment@1.0.0 No description
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! java@0.9.0 install:
node-gyp rebuild
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the java@0.9.0 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/fromakim/.npm/_logs/2018-11-07T20_36_53_905Z-debug.log
473 error This is probably not a
problem with npm. There is likely additional logging output above.
474 verbose exit [ 1, true ]
Installing Java again
Installing node packages necessary
Downgrading the node version from 11 to 10.13.0
Deleting node.modules and reinstalling
But neither worked.
I am currently using
node version: v10.13.0
npm version: v6.4.1
OS: Linux Mint 19
–
–
Thanks for contributing an answer to Stack Overflow!
-
Please be sure to
answer the question
. Provide details and share your research!
But
avoid
…
-
Asking for help, clarification, or responding to other answers.
-
Making statements based on opinion; back them up with references or personal experience.
To learn more, see our
tips on writing great answers
.
site design / logo © 2019 Stack Exchange Inc; user contributions licensed under
cc by-sa 3.0
with
attribution required
.
rev 2019.6.13.33990