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

score-cli installation not working in windows command prompt #2

Open
rqc opened this issue Mar 13, 2015 · 0 comments
Open

score-cli installation not working in windows command prompt #2

rqc opened this issue Mar 13, 2015 · 0 comments

Comments

@rqc
Copy link

rqc commented Mar 13, 2015

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

> [email protected] 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! [email protected] postinstall: `node index.js`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] 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

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

1 participant