npm ERR! Windows_NT 10.0.10586

爱⌒轻易说出口 提交于 2019-12-06 07:26:08
Nirav Shah

Solved the issue.

There was an issue with Windows System settings.

Steps to solve the issue:

Go to Windows' Settings >> Network & Internet >> Proxy Go to Automatic proxy setup >> Make 'Automatically detect settings' to off.

Now this works for me.

Thanks

I have worked in react and I was tried to hit command npm install and I have found same above problem.

Solution is:

Check the latest update of npm:

npm install npm@next -g

This is my error (Windows 10)

This is my solution:

Deleting the C:\Users\{user}\AppData\Roaming\npm and

Deleting the C:\Users\{user}\AppData\Roaming\npm-cache folder

Done! It should work!

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!