-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Description
Hi,
In my Windows 8.1 with node v0.12.0 and my JAVA_HOME set to C:\Program Files (x86)\Java\jre1.8.0_31\bin I am trying to install the npm module globally as such npm install score-cli -g but it is not working. I get the following error:
C:\WINDOWS\system32>npm install -g score-cli
C:\Users\ricardo\AppData\Roaming\npm\slang -> C:\Users\ricardo
\AppData\Roaming\npm\node_modules\score-cli\score\slang\bin\slang
> score-cli@1.0.10 postinstall C:\Users\ricardo\AppData\Roaming\npm\nod
e_modules\score-cli
> node index.js
Getting score... it might take a while...
stream.js:94
throw er; // Unhandled stream error in pipe.
^
Error: connect ETIMEDOUT
at exports._errnoException (util.js:746:11)
at TCPConnectWrap.afterConnect [as oncomplete] (net.js:983:19)
npm ERR! Windows_NT 6.3.9600
npm ERR! argv "C:\\Program Files\\nodejs\\\\node.exe" "C:\\Program Files\\nodejs
\\node_modules\\npm\\bin\\npm-cli.js" "install" "-g" "score-cli"
npm ERR! node v0.12.0
npm ERR! npm v2.5.1
npm ERR! code ELIFECYCLE
npm ERR! score-cli@1.0.10 postinstall: `node index.js`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the score-cli@1.0.10 postinstall script 'node index.js'.
npm ERR! This is most likely a problem with the score-cli package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node index.js
npm ERR! You can get their info via:
npm ERR! npm owner ls score-cli
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR! C:\WINDOWS\system32\npm-debug.log
I tried it as admin as a regular user and both had the same error. Do you have any ideas on what I am doing wrong. It worked perfectly in my ubuntu environment.
Thanks,
Ricardo
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels