Can't install anything with npm ECONNRESET without proxy

后端 未结 7 2103
眼角桃花
眼角桃花 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:12

    I was got a similar issue.

    I was run below commands

    npm config edit

    Open that file and remove line no approx 8 proxy=http://github.com/ registry=http://registry.npmjs.org/ those are user custom settings remove this file and save it.

    After run below command npm install should be work fine.

提交回复
热议问题