yarnpkg/yarn
View on GitHubYarn ignores no_proxy environment variable when proxy property set
Open
#5,048 opened on Dec 6, 2017
cat-compatibilitycat-featurehelp wantedtriaged
Description
Do you want to request a feature or report a bug? Both
What is the current behavior?
If proxy and http-proxy are set, NO_PROXY and no_proxy environment variables are ignored.
If the current behavior is a bug, please provide the steps to reproduce.
- Set
proxyandhttps-proxyconfig and can find fromyarn config list
...
info npm config
{ proxy: 'http://some.proxy.host:8080/',
'https-proxy': 'http://some.proxy.host:8080/',
...
- Set
NO_PROXYorno_proxyenvironment variable like$ no_proxy="some.url.private.repo" - Run
yarn install proxyandhttps-proxywork butno_proxyenvironment variable is ignored.
What is the expected behavior?
NO_PROXY or no_proxy environment variable is applied.
Please mention your node.js, yarn and operating system version. Ubuntu 16.04 yarn 1.3.2