Can't install anything with npm ECONNRESET without proxy

后端 未结 7 2113
眼角桃花
眼角桃花 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 07:57

    I had the same issue while installing the expo-cli in Windows 8.1, but it resolved after i have followed the below steps.

    run below command in your command prompt.

    npm config edit
    
    

    .npmrc file will open in your default editor.

    Now remove the lines having proxy, https-proxy, registery and save that file.

    After that i was able to install the expo-cli package without the proxy issue.

提交回复
热议问题