Can't install anything with npm ECONNRESET without proxy

后端 未结 7 2053
眼角桃花
眼角桃花 2020-12-29 07:31

I used node.js to install some things via npm without any problems. Now I changed nothing on my settings (Win8; no proxy, internet is working) and I can\'t install anything

相关标签:
7条回答
  • 2020-12-29 08:13

    The best discussion of the ECONNRESET issue is in this npm registry ticket: https://github.com/npm/registry-issue-archive/issues/10

    tl;dr: If you are seeing this frequently, it may be a "too many simultaneous connections" issue that can be addressed by updating your version of npm to 2.15.x or 3.x / latest.

    One comment (no rep to comment directly) on posts by Shokatsuryō-san & Sunil: both recommend changing your npm registry config to use http over https. Doing so can present a significant security risk in production environments; don't use that fix in those cases.

    0 讨论(0)
提交回复
热议问题