当前位置:网站首页>【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

成功结果

边栏推荐
猜你喜欢

aTrust项目的相关操作与分享

Reverse resolve dns server

How the Internet of Things is changing the efficiency of city operations

go里面的基本知识

MySQL高级学习笔记

selenium + robotframework的运行原理

MySQL classic 50 practice questions and the most detailed analysis of the whole network

代码编世界 科技创未来

使用jOOQ 3.14合成外键在视图上写隐式连接

nodejs的安装和全局配置(超详细哦)
随机推荐
代码编世界 科技创未来
Node installation and environment configuration
Nacos安装详细过程
Go inside the basic knowledge
The virtual reality real estate display system foresees the future decoration effect in advance
DNS resolution process
能与观众实时互动的Claper
nacos安装配置和单机部署教程
Write implicit join on view with jOOQ 3.14 synthetic foreign key
MySQL database video tutorial from beginner to proficient
Kingdee International: Lost in half a year and last year, how does the business model of frantically burning money continue
Nacos database configuration
npm ---- install yarn
引领需求 为HR价值正名——“人力资源领先模型HRLM”成功首发
node安装及环境变量配置
node安装及环境配置
HCIP 第三天实验
The stock price has repeatedly hit new lows, and the real estate SaaS giant is in trouble. How should Mingyuan Cloud transform and save itself?
HCIP 第一天
Nodejs installation and global configuration (super detailed)