npm install -g yo / tarball fetch failed issue #4529
Comments
Moved this one to yeoman repositorie: yeoman/yeoman#1274 |
I have check both links to this issue...has it been resolved somewhere else? |
Nop. Fyi, i gave a try from my house, without this corporate proxy, and it works great... |
This dependency poses an issue for any one behind a proxy that blocks github (as above) or people running the npm registry in an offline / replicated mode. |
OK, is there any workaround or any fix planned to allow all these people to use yeoman? |
Getting the same error while trying to install yeoman behind a corporate proxy. npm ERR! fetch failed https://github.com/Filirom1/nopt/tarball/master#pull-request-in-progress |
Hello All, I found a work arround for our user. Thank you |
Hi, I gave it a try, with and without providing proxy authentication, and nothing better. |
This helped me: |
This usually occurs if you are being subjected to a man-in-the-middle (MITM) attack, either by the NSA, your ISP, your enemy who is using the same coffeeshop WiFi as you, or your corporate proxy. npm is erroring because something between you and the registry has interfered with the integrity of the SSL encryption, and it does not want to proceed in that state. If you are willing to give up that security and allow the MITM-ing party, or any other party on the internet, to intercept and potentially modify your requests to/from the npm registry, then you can turn off SSL as people have said in this thread (via |
Hi guys,
I'm stuck installing yeoman getting errors.
For information:
npm config set proxy "http://user:password@server:port/"
npm config set https-proxy "http://user:password@server:port/"
npm config set registry http://registry.npmjs.org/
Apparently, during the the "npm install -g yo" command execution, https://github.com/Filirom1/nopt/tarball/master#pull-request-in-progress fetch failed, then it causes a UNABLE_TO_VERIFY_LEAF_SIGNATURE error. Others package have been downloaded correctly.
Here is the execution trace fragment:
$ npm install -g yo
npm http GET http://registry.npmjs.org/yo
npm http 304 http://registry.npmjs.org/yo
npm http GET http://registry.npmjs.org/update-notifier
npm http GET http://registry.npmjs.org/lodash
.....
npm http 304 http://registry.npmjs.org/mkdirp
npm ERR! fetch failed https://github.com/Filirom1/nopt/tarball/master#pull-reque
st-in-progress
npm http GET http://registry.npmjs.org/rimraf
.......
npm http 304 http://registry.npmjs.org/debuglog/0.0.2
npm http GET https://github.com/Filirom1/nopt/tarball/master#pull-request-in-progress
npm ERR! fetch failed https://github.com/Filirom1/nopt/tarball/master#pull-request-in-progress
npm http GET https://github.com/Filirom1/nopt/tarball/master#pull-request-in-progress
npm ERR! fetch failed https://github.com/Filirom1/nopt/tarball/master#pull-request-in-progress
npm ERR! Error: UNABLE_TO_VERIFY_LEAF_SIGNATURE
npm ERR! at SecurePair. (tls.js:1370:32)
npm ERR! at SecurePair.EventEmitter.emit (events.js:92:17)
npm ERR! at SecurePair.maybeInitFinished (tls.js:982:10)
npm ERR! at CleartextStream.read as _read
npm ERR! at CleartextStream.Readable.read (_stream_readable.js:320:10)
npm ERR! at EncryptedStream.write as _write
npm ERR! at doWrite (_stream_writable.js:221:10)
npm ERR! at writeOrBuffer (_stream_writable.js:211:5)
npm ERR! at EncryptedStream.Writable.write (_stream_writable.js:180:11)
npm ERR! at write (_stream_readable.js:583:24)
npm ERR! at flow (_stream_readable.js:592:7)
npm ERR! at Socket.pipeOnReadable (_stream_readable.js:624:5)
npm ERR! If you need help, you may report this entire log,
npm ERR! including the npm and node versions, at:
npm ERR! http://github.com/isaacs/npm/issues
npm ERR! System Windows_NT 6.1.7601
npm ERR! command "c:\Program Files\nodejs\node.exe" "c:\Program Files\nodej
s\node_modules\npm\bin\npm-cli.js" "install" "-g" "yo"
npm ERR! cwd C:\Users\colinje
npm ERR! node -v v0.10.24
npm ERR! npm -v 1.3.21
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! C:\Users\colinje\npm-debug.log
npm ERR! not ok code 0
I've been googling for a while, but I have know idea to solve that issue. Does any one know what's going wrong there?
Thank's for your help.
The text was updated successfully, but these errors were encountered: