node.js - Error installing karma on Windows 7 -


i'm trying install karma using

npm install -g karma 

but, admin, i'm getting these errors:

0 info worked if ends ok 1 verbose cli [ 'z:\\users\\vazirin\\downloads\\node\\\\node.exe', 1 verbose cli   'z:\\users\\vazirin\\downloads\\node\\node_modules\\npm\\bin\\npm-cli.js', 1 verbose cli   'install', 1 verbose cli   '-g', 1 verbose cli   'karma' ] 2 info using npm@1.3.3 3 info using node@v0.10.11 4 verbose node symlink z:\users\vazirin\downloads\node\\node.exe 5 verbose cache add [ 'karma', null ] 6 verbose cache add name=undefined spec="karma" args=["karma",null] 7 verbose parsed url { protocol: null, 7 verbose parsed url   slashes: null, 7 verbose parsed url   auth: null, 7 verbose parsed url   host: null, 7 verbose parsed url   port: null, 7 verbose parsed url   hostname: null, 7 verbose parsed url   hash: null, 7 verbose parsed url   search: null, 7 verbose parsed url   query: null, 7 verbose parsed url   pathname: 'karma', 7 verbose parsed url   path: 'karma', 7 verbose parsed url   href: 'karma' } 8 silly lockfile 512423cb-karma karma 9 verbose lock karma z:\users\vazirin\appdata\roaming\npm-cache\512423cb-karma.lock 10 silly lockfile 512423cb-karma karma 11 silly lockfile 512423cb-karma karma 12 verbose addnamed [ 'karma', '' ] 13 verbose addnamed [ null, '*' ] 14 silly lockfile cd7961bb-karma karma@ 15 verbose lock karma@ z:\users\vazirin\appdata\roaming\npm-cache\cd7961bb-karma.lock 16 silly addnamerange { name: 'karma', range: '*', hasdata: false } 17 verbose url raw karma 18 verbose url resolving [ 'https://registry.npmjs.org/', './karma' ] 19 verbose url resolved https://registry.npmjs.org/karma 20 info trying registry request attempt 1 @ 12:57:46 21 http https://registry.npmjs.org/karma 22 info retry retry, error on last attempt: error: tunneling socket not    established, cause=getaddrinfo enotfound 23 info trying registry request attempt 2 @ 12:57:58 24 http https://registry.npmjs.org/karma 25 info retry retry, error on last attempt: error: tunneling socket not established, cause=getaddrinfo enotfound 26 info trying registry request attempt 3 @ 12:59:00 27 http https://registry.npmjs.org/karma 28 silly lockfile cd7961bb-karma karma@ 29 silly lockfile cd7961bb-karma karma@ 30 error error: tunneling socket not established, cause=getaddrinfo enotfound 30 error     @ clientrequest.onerror (z:\users\vazirin\downloads\node\node_modules\npm\node_modules\request\node_modules\tunnel-agent\index.js:159:17) 30 error     @ clientrequest.g (events.js:175:14) 30 error     @ clientrequest.eventemitter.emit (events.js:95:17) 30 error     @ socket.socketerrorlistener (http.js:1517:9) 30 error     @ socket.eventemitter.emit (events.js:95:17) 30 error     @ net.js:829:16 30 error     @ process._tickcallback (node.js:415:13) 31 error if need help, may report log at: 31 error     <http://github.com/isaacs/npm/issues> 31 error or email to: 31 error     <npm-@googlegroups.com> 32 error system windows_nt 6.1.7601 33 error command "z:\\users\\vazirin\\downloads\\node\\\\node.exe" "z:\\users\\vazirin\\downloads\\node\\node_modules\\npm\\bin\\npm-cli.js" "install" "-g" "karma" 34 error cwd z:\users\vazirin 35 error node -v v0.10.11 36 error npm -v 1.3.3 37 error code econnreset 38 verbose exit [ 1, true ] 

anyone have ideas why happening? have no problem running on os x mountain lion.

i ended uninstalling node. used chocolatey install it. gave me couple of errors debugged, turned out reason, npm config file had wrong registry address packages. when executed

npm install -g karma 

it try connect registry , couldn't. after fixing address, worked smoothly. starting question if installed programs had changed system config files or network settings. evidently, there no proxy issue encountered.


Comments