[英]I have a problem installing my node module depandances for Angular
When I do npm install, I get an error at the end:当我安装 npm 时,最后出现错误:
error syscall unlink
22396 error The operation was rejected by your operating system.
22396 error It's possible that the file was already in use (by a text editor or antivirus),
22396 error or that you lack permissions to access it.
22396 error
22396 error If you believe this might be a permissions issue, please double-check the
22396 error permissions of the file and its containing directories, or try running
22396 error the command again as root/Administrator (though this is not recommended).
22397 verbose exit [ -4048, true ]
I do not know why我不知道为什么
This usually happens when that particular file is busy or currently in use.这通常发生在该特定文件正忙或当前正在使用时。
You can fix this by.您可以通过以下方式解决此问题。
sudo npm install ${package_name}
如果您使用的是 linux 或 mac 机器,请使用sudo npm install ${package_name}
Hope this helps希望这可以帮助
Have you tried this你试过这个
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.