【npm install 报错问题合集】

编程入门 行业动态 更新时间:2024-10-04 11:15:44

【npm install <a href=https://www.elefans.com/category/jswz/34/1771188.html style=报错问题合集】"/>

【npm install 报错问题合集】

npm ERR! code ENOTEMPTY npm ERR! syscall rmdir

  • 报错信息
  • 解决方案
  • 成功结果

报错信息

npm ERR! code ENOTEMPTY
npm ERR! syscall rmdir
npm ERR! path D:\cmeim\chongtong\cmeim-web\node_modules.staging\swiper-6795cdfd
npm ERR! errno -4051
npm ERR! ENOTEMPTY: directory not empty, rmdir ‘D:\cmeim\chongtong\cmeim-web\node_modules.staging\swiper-6795cdfd’

npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\Administrator\AppData\Roaming\npm-cache_logs\2022-07-29T05_51_18_554Z-debug.log

解决方案

1、npm cache clean --force
2、将node_modules文件夹删除
3、npm i

成功结果

更多推荐

【npm install 报错问题合集】

本文发布于:2024-02-19 19:01:54,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1765680.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:报错   合集   npm   install

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!