2
我处于需要运行本地代理的环境中,并且无法安装节点sass。当我尝试以下方法:无法安装节点sass
npm install -g node-sass
我得到一个错误:
Cannot download " https://github.com/sass/node-sass/releases/download/v4.5.3/win32-x64-48_binding.node ": tunneling socket could not be established, cause=read ECONNRESET
我已经安装cntlm并正确配置它。要验证我使用porxy服务器访问互联网,它工作正常。
以下环境变量设置
http_proxy -> http://localhost:3128
https_proxy -> http://localhost:3128
还增加了以下我.npmrc
https-proxy=http://localhost:3128
http-proxy=http://localhost:3128
proxy=http://localhost:3128
而且通过添加斜线结束,但结果是一样的尝试。
任何线索和帮助将不胜感激,因为我不知道如何解决这个问题。
其他细节:
node -v
v6.11.4
npm -v
5.5.1