【Node】npm报错:A complete log of this run can be fund in:........ 报错

参考博客地址
出现问题原因是:需要清理缓存

  • 将node_modules文件夹先删除
  • 清理缓存命令:npm cache clean --force
  • 重新安装一次即可:npm install /cnpm install
  • 如以上处理方式后,仍然报错,可以先删除整个文件夹,重新新建文件夹后npm install即可
npm ERR! code EPERM npm npm ERR! syscall unlink npm ERR! path D: UmmppManagerFrontlnode modulesl. staging echarts - 619c8c12dist echarts . common . min.js npm ERR! errno -4048 npm ERR! Error: EPERM: operation not permitted, unlink D: mmppManagerFront node modulesl. staginglecharts -619c8c12distlecharts .common.min. js' npm ERR! [OperationalError: EPERM: operation not permitted, unlink 'D: mmppManagerFrontlnode_ modulesl. staginglecharts - 619c8c12distlecharts . common.min.js'] f npm ERR! cause: [Error: EPERM: operation not permitted, unlink D: mmppManagerFrontlnode_ modulesl. staginglecharts-619c8c12ldistlecharts . common .min.js' ] í nnm ERRI errno: -4048 npm errno:-404ö, npm ERR! code:' EPERM npm ERR! syscall: 'unlink', npm ERR! path: . D: VmmppManagerFrontIlnode modulesll. stagingllecharts - 619c8c1211distllecharts . common.min. js . npm ERR! npm ERR! errno: - 4048 , nom ERR! code: " EPERM npm ERR syscall: 'unlink' , npm ERR! path: 'D: VmmppManagerFrontnode modulesll. stagingllecharts - 619c8c121distllecharts . common.min.js', npm ERR! parent:' mmppManagerFront npm ERR! npm ERR! npm ERR! The operation was rejected by your operating system . npm ERR! It's possible that the file was already in use (by a text editor or antivirus), npm ERR . ERR! or that you ou lack permissions to accesst. npm ERR! npm ERR! If you believe this might be a permissions issue, please double-check the npm ERR! permissions of the file and its containing directories, or try running npm ERR! the command again as root/ Admini strator . npm ERR! A complete log of this run can be found in npmERR! c: Userslc-wangxs2VAppDatalRoamingnpm cachel logs 2025-04-02T05 28_ 49 264Z-debug. log
04-03
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值