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

成功结果

边栏推荐
- npm 无法将“npm”项识别为 cmdlet、函数、脚本文件或可运行程序的名称。请检查名称的拼写,如果包括路径,请确保路径正确,然后再试一次。
- love
- MySQL联合查询(多表查询)
- go里面的基本知识
- MySQL驱动jar包的下载--保姆教程
- Leading the demand and justifying the HR value - the successful launch of the "Human Resource Leading Model HRLM"
- 科技赋能拉萨之“肺”,华为助力拉鲁湿地智慧管理守护绿水青山
- A detailed introduction to the deployment and usage of the Nacos registry
- MySQL union query (multi-table query)
- node安装及环境变量配置
猜你喜欢

SphereEx苗立尧:云原生架构下的Database Mesh研发实践

HCIP BGP Comprehensive Experiment Establishing peers, route reflectors, federation, route announcement and aggregation

Kingdee International: Lost in half a year and last year, how does the business model of frantically burning money continue

Technology empowers Lhasa's "lungs", Huawei helps Lalu Wetland Smart Management to protect lucid waters and lush mountains

Nacos installation detailed process

Ant three sides: MQ message loss, duplication, backlog problem, what are the solutions?

Node installation and configuration of environment variables

npm、cnpm的安装

Nacos安装详细过程

zabbix auto-discovery and auto-registration
随机推荐
Nacos数据库配置
振兴农村循环经济 和数链串起农业“生态链”
深入剖析成员变量和局部变量的初始化问题
MySQL(3)
Nacos注册中心的部署与用法详细介绍
项目开发规范
Not annotated parameter overrides @NonNullApi parameter
Toolbox App 1.25 新功能一览 | 版本更新
leetcode-318.最大单词长度乘积
node安装及环境变量配置
oracle 远程连接数据库
pl/sql之神奇的嵌套与变量生命周期
Nacos安装详细过程
DNS resolution process
触发器简单解释
MySQL高级学习笔记
mysql索引失效的常见9种原因详解
秒杀系统小demo
使用jOOQ 3.14合成外键在视图上写隐式连接
Practice on optimizing startup performance of VS Code