当前位置:网站首页>【npm install 报错问题合集】- npm ERR! code ENOTEMPTY npm ERR! syscall rmdir
【npm install 报错问题合集】- npm ERR! code ENOTEMPTY npm ERR! syscall rmdir
2022-08-02 05:52:00 【杨北林】
报错信息
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

成功结果

边栏推荐
猜你喜欢
随机推荐
Nodejs installation and global configuration (super detailed)
Leading the demand and justifying the HR value - the successful launch of the "Human Resource Leading Model HRLM"
MySQL Advanced SQL Statements
Ant three sides: MQ message loss, duplication, backlog problem, what are the solutions?
Leetcode周赛304
Kingdee International: Lost in half a year and last year, how does the business model of frantically burning money continue
In-depth analysis of the initialization of member variables and local variables
leetcode solves the linked list merge problem in one step
物联网如何改变城市运行效率
Go inside the basic knowledge
APP special test: traffic test
HCIP 第一天
A list of 300+ learning resources compiled by senior engineers of the Tao Department (the latest version in 2021)
oracle 远程连接数据库
Nacos installation configuration and single-machine deployment tutorial
一文搞懂C操作符
npm、nrm两种方式查看源和切换镜像
从入门到精通的MySQL数据库视频教程
MySQL high-level --- storage engine, index, lock
npm ---- install yarn








