-
Notifications
You must be signed in to change notification settings - Fork 874
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
Add proxy environment variables for npm postinstalls #683
Add proxy environment variables for npm postinstalls #683
Conversation
Adds http_proxy and https_proxy for npm runs, useful for npm postinstalls that use pure node <postinstall-script>.js to get the proxy without workarounds.
…proxy Those variables are needed for postinstall steps using node scripts
Any chance of getting this merged? |
@eirslett We would also and still appreciate the merge of this pull request. |
…or_npm_postinstalls
Sorry, looks like I botched the merge commit. There is a conflict against the master branch, could somebody please just pick up the code from this PR and make a new PR that works against the latest master? I'll promise to merge it! |
@Cavva79 do you want to fix this PR? I should have asked it first. |
@josehenriqueventura go ahead. I am unable to fix it now |
Summary
Found that for postinstall script, such openlayers 4 has, in a proxy network, this plugin is not passing right the proxy to node.js running the script.
Tests and Documentation
This fixes issue #657.
I tested and it seems to work with openlayers 4.6.4