Error: EPERM: operation not permitted, unlink 'D:\Sources\**\node_modules\fsevents\node_modules\abbr
原因
编辑器或IDE打开了vue项目,我的是idea打开了 vue
解决办法
关闭IDE或编辑器,删除node_modules文件目录,然后重新执行npm install
命令
注意windows系统需要以管理员身份运行命令窗口不然会报权限的错
其他办法尝试
1. cnpm的安装方式(较为推荐)
执行下面命令:
npm install -g cnpm --registry=https://registry.npm.taobao.org
添加系统变量path的内容
因为cnpm会被安装到D:\Program Files\nodejs\node_global
下,而系统变量path并未包含该路径。在系统变量path
下添加该路径即可正常使用cnpm。
如图,修改系统变量path:
然后输入cnpm -v
查看版本执行cnpm i
命令安装依赖模块
2. 清楚cache
npm cache clean
npm cache clean --force
3. 清除代理
npm config rm proxy
npm config rm https-proxy
参考
1. Error: EPERM: operation not permitted, unlink ‘D:\Sources**\node_modules\fsevents\node_modules\abbrev\package.json’
2. 执行npm install 的时候报错
3. 使用npm下载任何文件都报错,报错如下
4. EPERM: operation not permitted, unlink ‘E:\node_modules@types’
5. The operation was rejected by your operating system Module build failed: Error: ENOENT: no such file
Error: EPERM: operation not permitted, unlink 'D:\Sources\**\node_modules\fsevents\node_modules\abbr相关推荐
- npm install 提示权限不足 Error: EPERM: operation not permitted, unlink XXX
问题描述 使用npm install出现 npm install 提示权限不足 Error: EPERM: operation not permitted, unlink XXX提示 原因 这里原因有 ...
- NPM报错 Error: EPERM: operation not permitted, unlink......解决办法。使用 rimraf 快速删除node_modules和清除缓存
由于国内外环境因素,npm install安装依赖的时候经常会出现各种问题,特别是"Error: EPERM: operation not permitted, unlink-"这 ...
- npm ERR! Error: EPERM: operation not permitted, unlink
参考 有很多解决办法,我试了第一种,把node.exe进程关掉,再打开就没问题了
- 【解决方法】hexo g 报错 OperationalError: EPERM: operation not permitted, unlink ...
运行 hexo g 报错如下: FATAL {err: [OperationalError: EPERM: operation not permitted, unlink 'F:\blog\publi ...
- Error: EPERM: operation not permitted(权限问题 errro permit)
npm下载依赖报错 npm ERR! code EPERM npm ERR! syscall unlink npm ERR! path E:\code\20200212\web\cbos2.0-wen ...
- npm ERR! { Error: EPERM: operation not permitted, mkdir 'C:\Program Files\nodejs\node_cache\_locks'
vue项目安装json-server报错npm ERR! { Error: EPERM: operation not permitted, mkdir 'C:\Program Files\nodej ...
- npm安装报错Error: EPERM: operation not permitted解决方案
电脑重装系统后重新配置环境安装node后,npm命令安装报错 Error: EPERM: operation not permitted npm ERR! code EPERM npm ERR! sy ...
- yarn install 遇到的错误消息 - Error EPERM operation not permitted, open .yarnrc
我在某个 Angular 项目文件下执行 npm install 命令时,遇到如下错误: Error: EPERM: operation not permitted, open C:\Users\i0 ...
- npm install 报错(npm ERR! errno -4048,Error: EPERM: operation not permitted,)解决方法
npm install 报错(npm ERR! errno -4048,Error: EPERM: operation not permitted,)解决方法 参考文章: (1)npm install ...
最新文章
- unicode,ansi,utf-8,unicode big endian编码的区别
- 分布式RPC框架性能大比拼 dubbo、motan、rpcx、gRPC、thrift的性能比较
- 列出5个python标准库_Python常用标准库使用(一)
- DL之SoftmaxWithLoss:SoftmaxWithLoss算法(Softmax+交叉熵误差)简介、使用方法、应用案例之详细攻略
- 洛谷——P1540 机器翻译
- BundlePhobia
- 虽然我们可能不想对元素应用3D变换,可我们一样可以开启3D引擎
- Web自动化测试中使用groovy实现页面的对象化
- lcmgcd因数分解
- Luogu1525 关押罪犯
- 电感式传感器工作原理与电感式传感器应用案例-博扬智能
- EXCEL数组公式(4) : 用例子比较数组公式和非数组公式,发现数组公式 {} 写法的本质在于:每个步骤都会按照 数组去计算
- 单片机课设中期报告_本科毕业设计中期检查报告.doc
- ITween插件学习记录
- MIT6.824 2022 Fault-tolerant Key/Value Service
- c++编辑注册表实现右键菜单
- PHP与JS---取整数方法int,celi,floor,round
- 中国联通亮相5G创新应用大会5G创新开启数字化转型新征程
- 掌握 Dart 中库 library 的使用
- 从0开始创建vue工程化项目~