[英]How to avoid auto reset of npmrc?
OS: UBUNTU 16 npm version: 6.4.1 My proxy settings in ~/.npmrc file keep getting reset with opening a new terminal? 操作系统:UBUNTU 16 npm版本:6.4.1我在〜/ .npmrc文件中的代理设置会随着打开新终端而不断重置? I am behind a corporate proxy, so I set the proxy in ~/.npmrc.
我在公司代理后面,所以我在〜/ .npmrc中设置了代理。 But with a new terminal, it keeps changing to some fixed proxy setting.
但是有了新的终端,它会不断更改为某些固定的代理设置。 I checked the global config npmrc and it is empty.
我检查了全局配置npmrc,它为空。 Any way I can make the config not change with opening a new terminal?
有什么办法可以使配置不因打开新终端而改变?
Thanks! 谢谢!
Thanks to Luke! 感谢卢克! My bashrc had npm proxy setting statements that was overwriting npmrc proxy config.
我的bashrc具有npm代理设置语句,该语句正在覆盖npmrc代理配置。 This is resolved now.
现在已解决。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.