Skip to content
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

Urgent! Cannot install on Windows 8.1 x64 (with x64 node, x64 Microsoft Visual C++ 2012, x64 java) #190

Closed
thetiby opened this issue Jan 17, 2015 · 2 comments

Comments

@thetiby
Copy link

thetiby commented Jan 17, 2015

I have no idea why this is happening, and looking at previously closed issues, I have all requirements in place:
image
image

I tried running npm install --msvs_version=2012 java and I have this same error:

C:\Users\Tiberiu>npm install --msvs_version=2012 java
-
> java@0.4.4 install C:\Users\Tiberiu\node_modules\java
> node-gyp rebuild


C:\Users\Tiberiu\node_modules\java>node "C:\Program Files\nodejs\node_modules\npm\bin\node-gyp-bin\\..\..\node_modules\node-gyp\bin\node-gyp.js"
rebuild
gyp ERR! configure error
gyp ERR! stack Error: spawn ENOENT
gyp ERR! stack     at errnoException (child_process.js:1011:11)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (child_process.js:802:34)
gyp ERR! System Windows_NT 6.2.9200
gyp ERR! command "node" "C:\\Program Files\\nodejs\\node_modules\\npm\\node_modules\\node-gyp\\bin\\node-gyp.js" "rebuild"
gyp ERR! cwd C:\Users\Tiberiu\node_modules\java
gyp ERR! node -v v0.10.35
gyp ERR! node-gyp -v v1.0.1
gyp ERR! not ok

npm ERR! java@0.4.4 install: `node-gyp rebuild`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the java@0.4.4 install script.
npm ERR! This is most likely a problem with the java 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 their info via:
npm ERR!     npm owner ls java
npm ERR! There is likely additional logging output above.
npm ERR! System Windows_NT 6.2.9200
npm ERR! command "C:\\Program Files\\nodejs\\\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "install" "--msvs_version=2012" "java"
npm ERR! cwd C:\Users\Tiberiu
npm ERR! node -v v0.10.35
npm ERR! npm -v 1.4.28
npm ERR! code ELIFECYCLE
npm ERR! not ok code 0

Please help!

@joeferner
Copy link
Owner

You might want to look at this thread nodejs/node-gyp#277

@thetiby
Copy link
Author

thetiby commented Jan 17, 2015

@joeferner Thank you!
I look at that thread before but failed to notice the c:\Python27\python.exe in the %PYTHON% var - as you saw in my ss, I had only the python folder in this variable. (c:\Python27\)

The install ran successfully after I made that change!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants