小编Max*_*ier的帖子

NPM 无法在代理后面安装任何包

我位于业务代理后面,当我npm i -g npm更新我的 npm 时,它会响应:

npm ERR! code EPROTO
npm ERR! errno EPROTO
npm ERR! request to http://registry.npmjs.org/npm failed, reason: write EPROTO 101057795:error:140770FC:SLL routines:SSL23_GET_SERVER_HELLO:unknow protocol:openssl/ssl/s23_clnt.c:825:
npm ERR!

npm ERR! A complete log of this run can be found in:
npm ERR!     C:\Users\username\AppData\Moaming\npm-cache\_logs\2018-01-23T08_15_17_061Z-debug.log
Run Code Online (Sandbox Code Playgroud)

这是 npm 配置:

proxy=http://proxy.###.intra:8080/
https-proxy=https://proxy.###.intra:8080/
registry=http://registry.npmjs.org/
Run Code Online (Sandbox Code Playgroud)

任何帮助将不胜感激:)

谢谢。

proxy npm

6
推荐指数
1
解决办法
2万
查看次数

标签 统计

npm ×1

proxy ×1