npm ERR! code EBUSY
错误原因:
文件系统个中的某些文件正在被占用而导致粉
1.关闭所有正在使用该目录或文件的程序 然后再次运行命令
2.如果您正在使用windows操作系统,尝试以管理员身份运行命令提示符或PowerShell
3.重启计算机 然后再次运行命令
PS F:\Project\NetDragon\Portal2.0\portal-functional-tests> npm install junit npm ERR! code EBUSY npm ERR! syscall rename npm ERR! path F:\Project\NetDragon\Portal2.0\portal-functional-tests\node_modules\selenium-standalone\.selenium\selenium-server\4.4.0\selenium-server.jar npm ERR! dest F:\Project\NetDragon\Portal2.0\portal-functional-tests\node_modules\.selenium-standalone-n7kv4COY\.selenium\selenium-server\4.4.0\selenium-server.jar npm ERR! errno -4082 npm ERR! EBUSY: resource busy or locked, rename 'F:\Project\NetDragon\Portal2.0\portal-functional-tests\node_modules\selenium-standalone\.selenium\selenium-server\4.4.0\selenium-server.jar' -> 'F:\Project\NetDragon\Portal2.0\portal-functional-tests\node_modules\.selenium-standalone-n7kv4COY\.selenium\selenium-server\4.4.0\selenium-server.jar' npm ERR! A complete log of this run can be found in: npm ERR! C:\Users\Administrator\AppData\Local\npm-cache\_logs\2023-12-19T09_46_52_168Z-debug-0.log
声明 欢迎转载,但请保留文章原始出处:) 博客园:https://www.cnblogs.com/chenxiaomeng/
如出现转载未声明 将追究法律责任~谢谢合作
分类:
node
【推荐】国内首个AI IDE,深度理解中文开发场景,立即下载体验Trae
【推荐】编程新体验,更懂你的AI,立即体验豆包MarsCode编程助手
【推荐】抖音旗下AI助手豆包,你的智能百科全书,全免费不限次数
【推荐】轻量又高性能的 SSH 工具 IShell:AI 加持,快人一步
· 物流快递公司核心技术能力-地址解析分单基础技术分享
· .NET 10首个预览版发布:重大改进与新特性概览!
· AI与.NET技术实操系列(二):开始使用ML.NET
· 单线程的Redis速度为什么快?
· Pantheons:用 TypeScript 打造主流大模型对话的一站式集成库
2020-12-19 RobotFramework(1):python2.7+RobotFramework环境搭建
2018-12-19 【linux】基础操作命令
2016-12-19 设置圆角的弧度,保持兼容性
2016-12-19 伪元素::after和::before