zkat/make-fetch-happen

Broken No Proxy

RuneKR opened this issue · 1 comments

I have an internal feed for my own private packages that are scoped with @Myscope. Every other packages such as the dependencies of @myscope/* should be loaded normally from the public npm registry.

When i try to install a package like @myscope/cool-package npm still tries to use the proxy and ignores .npmrc no_proxy.

.npmrc content

@myscope:registry=https://mydomain/npm/registry/
proxy=http://user:pass@proxysslbypass.mydomain.com
https-proxy=http://user:pass@proxysslbypass.mydomain.com
no_proxy="webother*,10*,otherone*,othernew*,newone*,otherdomain.com*,*.mydomain.com.*"

node: 6.9.4
npm: 6.1.0

So i found out my no_proxy variable should be named no-proxy in the .npmrc. and wildcards (*) are not supported