-
Notifications
You must be signed in to change notification settings - Fork 92
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
Cannot install behind a corporate proxy #899
Comments
what is more interesting - previous apollo and apollo-codegen didn't have this issue. |
Hmmm - this looks like something that will need to be fixed in binary-install - for now you might try installing with the |
As a work-around, I wonder if something like this works in your environment, through the use of the # Install global-agent as a dev dep
npm install --save-dev global-agent # https://npm.im/global-agent
# Pass arguments to the Node.js instance of npm to use it the appropriate HTTP_PROXY env
GLOBAL_AGENT_ENVIRONMENT_VARIABLE_NAMESPACE="" npm install --node-options="-r 'global-agent/bootstrap'" --save-dev @apollo/rover
I haven't tested, but in theory, this might work, assuming |
Hmm, on the other hand, there's also the built-in option |
Here's a question from where I sit behind a proxy / firewall at $SOON_TO_BE_FORMER_DAY_JOB_JUST_WAIT_TWO_WEEKS : we've had scenarios where the proxy blocks access to certain sites, including sites where some process inside Would an interesting workaround for this issue be to allow the user to provide (potentially through npm config) an alternative download location? So that they could download |
This should be fixed by #1067 |
Hi! I'm trying to install this module using
npm i --save-dev @apollo/rover
and I have this:Debug indicates that it's 100% a proxy issue. We have HTTP_PROXY and HTTPS_PROXY variables maintained.. It looks like issue is inherited from binary-install module. The possible solution may be to maintain a global https agent in install.js.
The text was updated successfully, but these errors were encountered: