everywera.blogg.se

Npm config set proxy default
Npm config set proxy default












npm config set proxy default

When using Node.js versions prior to v10, consider using the global-tunnel-ng which behaves similarly, but is configured differently. This guide covers the global-agent package which is supported by Node.js versions v10 and higher. HTTP_PROXY, NO_AGENT, etc.), which is not supported by Node.js itself (and may never be). The global-agent package allows support for the common technique of setting proxy settings using environment variables (e.g.

npm config set proxy default

While Apollo Server supports standard Node.js "agent" configuration via https.globalAgent and http.globalAgent directly, we recommend using the global-agent package to reduce the amount of necessary configuration involved with creating a custom agent.

npm config set proxy default

These include:ĭepending on security policies, you might need to configure an outgoing HTTP proxy in order to allow these requests. Certain features of the Apollo platform require Apollo Server to make outgoing requests to Apollo Studio.














Npm config set proxy default