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

Checking custom npm proxy before system defined proxy #474

Closed
wants to merge 1 commit into from
Closed

Checking custom npm proxy before system defined proxy #474

wants to merge 1 commit into from

Conversation

fredericlb
Copy link

Hi,

I'm encountering an issue with node-gyp as I need to have my Windows default proxy environment vars without the http:// prefix. Since node-gyp checks this prefix to validate the proxy url, I can't use it in an automated process (ie. github atom package install).
The easiest solution I've found is to check the npm_config_proxy before the standard proxy vars. It works in my case but to me it also seems more logical as using it to override default proxy settings in node related operations is for me a common usage.

Hi,

I'm encountering an issue with node-gyp as I need to have my Windows default proxy environment vars without the http:// prefix. Since node-gyp checks this prefix to validate the proxy url, I can't use it in an automated process (ie. github atom package install). 
The easiest solution I've found is to check the npm_config_proxy before the standard proxy vars. It works in my case but to me it also seems more logical as using it to override default proxy settings in node related operations is for me a common usage.
@fredericlb fredericlb closed this May 7, 2015
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

Successfully merging this pull request may close these issues.

None yet

1 participant