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

Use npm's configured options for proxy #54

Closed
explunit opened this Issue May 2, 2013 · 1 comment

Comments

Projects
None yet
2 participants
@explunit
Copy link

explunit commented May 2, 2013

install.js looks only for http_proxy environment variable and ignores any values set in the npm configuration.

It should follow the npm standard of using the configured values and then falling back to environment variables as a default.

For example, if I do this:

npm config set proxy "http://my-proxy.mycompany.com:80"

It should be able to do the install even if the http_proxy environment variable is not set.

@dpup

This comment has been minimized.

Copy link
Contributor

dpup commented May 2, 2013

Good call, didn't know about this feature.

-- Dan

On Thu, May 2, 2013 at 10:34 AM, explunit notifications@github.com wrote:

install.js looks only for http_proxy environment variable and ignores any
values set in the npm configuration.

It should follow the npm standard https://npmjs.org/doc/config.html of using
the configured values https://github.com/isaacs/npmconf and then
falling back to environment variables as a default.

For example, if I do this:

npm config set proxy "http://my-proxy.mycompany.com:80"

It should be able to do the install even if the http_proxy environment
variable is not set.


Reply to this email directly or view it on GitHubhttps://github.com//issues/54
.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.