Skip to content
This repository was archived by the owner on Aug 11, 2022. It is now read-only.
This repository was archived by the owner on Aug 11, 2022. It is now read-only.

Support for no-proxy in .npmrc file #7168

@jfbibeau

Description

@jfbibeau

It looks like NPM will correctly honor the ENV variables for http_proxy, https_proxy and recently also for no_proxy.

However .npmrc only seems to support proxy and https-proxy. This leads to some funny behavior...

I am trying to configure a no_proxy and http_proxy setting for NPM. So I thought I would configure proxy in .npmrc and no_proxy in my ENV variable (since npmrc doesn't support it). But .npmrc's proxy overrides the environment variable's no_proxy :(

So the only way for me to get no_proxy to work with NPM is to set it as an environment variable, which will enable it system wide (and I'm trying to avoid that).

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions