Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

Installing Yeoman behind a corporate proxy server #587

Merged
merged 1 commit into from Oct 10, 2012

Conversation

Projects
None yet
3 participants
Contributor

nwinkler commented Oct 5, 2012

Installing Yeoman through npm behind a corporate proxy server fails in our case, since Yeoman relies on two tarballs which are loaded through HTTPS.

I have configured the proxy and https-proxy settings in npm, yet still npm is not able to download through HTTPS.

Installing Yeoman fails with the following error:

npm ERR! fetch failed https://nodeload.github.com/cowboy/grunt/tarball/0ba6d4b529
npm ERR! fetch failed https://nodeload.github.com/yeoman/generators/tarball/282b0b4c51

Changing the two tarball URLs in package.json from HTTPS to HTTP fixes this issue for me.

ataube commented Oct 9, 2012

There is a related issue which should fix this problem #551

Contributor

nwinkler commented Oct 9, 2012

Thanks for the reply, but I don't think that this will fix it. The issue is not when using Yeoman to install something, in which case Bower is used and would need Proxy support, but during installation of Yeoman itself (through npm). Npm currently fails to download things via HTTPS through our corporate proxy - that's why changing the tarballs' URLs to HTTP in the Yeoman package info fixes this issue for me.

The issue is not related to Bower - more to npm, which's proxy support seems to be spotty.

Owner

sindresorhus commented Oct 9, 2012

@nwinkler I'm not against us pulling this in as a quick fix, but can you file a ticket on NPM to get it fixed for real? And link it up here.

Contributor

nwinkler commented Oct 9, 2012

Thanks, will do!

Contributor

nwinkler commented Oct 9, 2012

I've filed the following issue with NPM: isaacs/npm#2866

sindresorhus added a commit that referenced this pull request Oct 10, 2012

Merge pull request #587 from nwinkler/http-proxy-install-fix
Fix installing Yeoman behind a corporate proxy server.

@sindresorhus sindresorhus merged commit 2869983 into yeoman:master Oct 10, 2012

1 check failed

default The Travis build failed
Details

szinya pushed a commit to menthainternet/yeoman that referenced this pull request Sep 17, 2014

Merge pull request #587 from nwinkler/http-proxy-install-fix
Fix installing Yeoman behind a corporate proxy server.

sindresorhus added a commit that referenced this pull request Apr 24, 2015

Merge pull request #587 from nwinkler/http-proxy-install-fix
Fix installing Yeoman behind a corporate proxy server.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment