[英]npm install of angular throws error: ENOTEMPTY
When I execute npm install I get the following error:当我执行 npm install 时,出现以下错误:
npm ERR! code ENOTEMPTY
npm ERR! syscall rmdir
npm ERR! path /home/vagrant/development/wpp/app-web/wpp.web2/node_modules/npm/node_modules/.debug.DELETE/node_modules
npm ERR! errno -39
npm ERR! ENOTEMPTY: directory not empty, rmdir '/home/vagrant/development/wpp/app-web/wpp.web2/node_modules/npm/node_modules/.debug.DELETE/node_modules'
npm ERR! A complete log of this run can be found in:
npm ERR! /home/vagrant/.npm/_logs/2020-10-29T18_38_17_165Z-debug.log
What I already tried to resolve this:我已经尝试解决这个问题:
I'm running npm version 6.14.8 and node version 12.19.0我正在运行 npm 版本 6.14.8 和节点版本 12.19.0
What can I do to resolve this?我能做些什么来解决这个问题?
Turns out I was stupid: The folder was shared with my windows-system and that created some weird side-effect.原来我很愚蠢:该文件夹与我的 Windows 系统共享,这产生了一些奇怪的副作用。 Using another location solved it.
使用另一个位置解决了它。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.