npm install error code EBUSY errono -4082

寵の児 提交于 2019-11-28 01:37:19

If you have open that node module file in your editor then just close the file from the editor

Or

Close Editor Software

Then Try again

The cause of this was windows permissions problems. My work computer did not have privilleges to do certain things. When I moved to my personal mac everything just worked.

I got this error when tried to uninstall/re-install a module on Win10 VM. "npm cache clean", as suggested by some, did not work. Restarting the system resolved the issue.

If you trying to npm install and it fails on some package(requirejs in my case) try to install it manually:

npm install requrejs@2.1.8

Sometimes you don't have permission to turn off anti-virus :)

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