Skip to content
This repository has been archived by the owner on Nov 5, 2019. It is now read-only.

Can't install in Win8 #2

Closed
klinkov opened this issue Apr 23, 2014 · 6 comments
Closed

Can't install in Win8 #2

klinkov opened this issue Apr 23, 2014 · 6 comments

Comments

@klinkov
Copy link

klinkov commented Apr 23, 2014

Dump is here

C:\Dev\nodejs>npm install -g node-v8-clone
npm http GET https://registry.npmjs.org/node-v8-clone
npm http 304 https://registry.npmjs.org/node-v8-clone

node-v8-clone@0.4.5 install C:\Dev\nodejs\node_modules\node-v8-clone
node-gyp rebuild

C:\Dev\nodejs\node_modules\node-v8-clone>node "C:\Dev\nodejs\node_modules\npm\bi
n\node-gyp-bin....\node_modules\node-gyp\bin\node-gyp.js" rebuild
gyp ERR! configure error
gyp ERR! stack Error: Can't find Python executable "python", you can set the PYT
HON env variable.
gyp ERR! stack at failNoPython (C:\Dev\nodejs\node_modules\npm\node_modules
node-gyp\lib\configure.js:103:14)
gyp ERR! stack at C:\Dev\nodejs\node_modules\npm\node_modules\node-gyp\lib\c
onfigure.js:64:11
gyp ERR! stack at Object.oncomplete (fs.js:107:15)
gyp ERR! System Windows_NT 6.2.9200
gyp ERR! command "node" "C:\Dev\nodejs\node_modules\npm\node_modules\node-
gyp\bin\node-gyp.js" "rebuild"
gyp ERR! cwd C:\Dev\nodejs\node_modules\node-v8-clone
gyp ERR! node -v v0.10.23
gyp ERR! node-gyp -v v0.13.0
gyp ERR! not ok
npm ERR! node-v8-clone@0.4.5 install: node-gyp rebuild
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the node-v8-clone@0.4.5 install script.
npm ERR! This is most likely a problem with the node-v8-clone 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 node-v8-clone
npm ERR! There is likely additional logging output above.

npm ERR! System Windows_NT 6.2.9200
npm ERR! command "C:\Dev\nodejs\node.exe" "C:\Dev\nodejs\node_modules\n
pm\bin\npm-cli.js" "install" "-g" "node-v8-clone"
npm ERR! cwd C:\Dev\nodejs
npm ERR! node -v v0.10.23
npm ERR! npm -v 1.4.6
npm ERR! code ELIFECYCLE
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! C:\Dev\nodejs\npm-debug.log
npm ERR! not ok code 0

@faridnsh
Copy link

Do you have python installed?

@Mithgol
Copy link

Mithgol commented Apr 23, 2014

And, even if you have Python installed, does it appear in your system's PATH or PYTHON variable?

@klinkov
Copy link
Author

klinkov commented Apr 23, 2014

I'm add C:\Dev\Python27 to both PATH or PYTHON but got same error again

C:\Dev\nodejs>echo %PYTHON%
C:\Dev\Python27

C:\Dev\nodejs>echo %PATH%
C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\Program Files (x86)\In
tel\iCLS Client;C:\Program Files\Intel\iCLS Client;C:\Windows\system32;C:\Wind
ows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0;C:\Prog
ram Files\Microsoft SQL Server\110\Tools\Binn;C:\Program Files\Intel\Intel(R) M
anagement Engine Components\DAL;C:\Program Files\Intel\Intel(R) Management Engin
e Components\IPT;C:\Program Files (x86)\Intel\Intel(R) Management Engine Compone
nts\DAL;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\IPT;C
:\Dev\nodejs;C:\Dev\php;C:\Program Files (x86)\QuickTime\QTSystem;C:\Dev\Pyth
on27;C:\Users\Yuriy\AppData\Roaming\npm

C:\Dev\nodejs\node_modules\node-v8-clone>node "C:\Dev\nodejs\node_modules\npm\bi
n\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:980:11)
gyp ERR! stack at Process.ChildProcess._handle.onexit (child_process.js:771:
34)
gyp ERR! System Windows_NT 6.2.9200
gyp ERR! command "node" "C:\Dev\nodejs\node_modules\npm\node_modules\node-
gyp\bin\node-gyp.js" "rebuild"
gyp ERR! cwd C:\Dev\nodejs\node_modules\node-v8-clone
gyp ERR! node -v v0.10.23
gyp ERR! node-gyp -v v0.13.0
gyp ERR! not ok
npm ERR! node-v8-clone@0.4.5 install: node-gyp rebuild
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the node-v8-clone@0.4.5 install script.
npm ERR! This is most likely a problem with the node-v8-clone 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 node-v8-clone
npm ERR! There is likely additional logging output above.

npm ERR! System Windows_NT 6.2.9200
npm ERR! command "C:\Dev\nodejs\node.exe" "C:\Dev\nodejs\node_modules\n
pm\bin\npm-cli.js" "install" "-g" "node-v8-clone"
npm ERR! cwd C:\Dev\nodejs
npm ERR! node -v v0.10.23
npm ERR! npm -v 1.4.6
npm ERR! code ELIFECYCLE
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! C:\Dev\nodejs\npm-debug.log
npm ERR! not ok code 0

C:\Dev\nodejs>

@AlexeyKupershtokh
Copy link
Owner

This thread could be useful probably:
nodejs/node-gyp#277 (comment)
nodejs/node-gyp#277 (comment)

@klinkov
Copy link
Author

klinkov commented Apr 24, 2014

Great! Thank you, man!

@AlexeyKupershtokh
Copy link
Owner

Did it help? Please close the issue then.

@klinkov klinkov closed this as completed Apr 24, 2014
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants