problem installing npm java for windows
Hello: do you know what could be wrong?
Thanks in advance for your help
$ npm install java
Error:-
gyp ERR! stack at ChildProcess.exithandler (child_process.js:301:5)
gyp ERR! stack at ChildProcess.emit (events.js:198:13)
gyp ERR! stack at maybeClose (internal/child_process.js:982:16)
gyp ERR! System Windows_NT 10.0.17134
gyp ERR! node -v v10.16.0
gyp ERR! node-gyp -v v5.0.3
gyp ERR! not ok
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] install: node-gyp rebuild
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] install script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
I have ran into a number of issues. I believe I resolved this by making sure that the environment path pointed to the correct version of Java.
Path=C:\Java\SDK\sdk1.8.0_251_64\bin;C:\Python27\Scripts;C:\Python27;