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
复制代码

 

 

 

posted @   陈晓猛  阅读(456)  评论(0编辑  收藏  举报
相关博文:
阅读排行:
· 物流快递公司核心技术能力-地址解析分单基础技术分享
· .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
点击右上角即可分享
微信分享提示