当前位置:网站首页>npm install 报错 Error: EPERM: operation not permitted, rename
npm install 报错 Error: EPERM: operation not permitted, rename
2022-07-29 01:39:00 【京城落灬雨烟】

如图 npm install 报错 是因为 vscode 当前登录用户权限不够,解决方法:
直接删除现在的node_modules, 关了vacode 编辑器,在cmd里面以管理员身份运行,(一定要以管理员身份运行)进入当前目录,重新输入npm install,直接在下载,有vpn的最好vpn打开,尽量不要用cnpm ,有时候cnpm下载的文件是成功了,但是启动时会报错:TypeError: Cannot read property ‘range‘ of null。
所以最好用npm 下载,最后开着vpn 基本上可以下载成功。

每天填几个坑 ...... ヾ(◍°∇°◍)ノ゙
边栏推荐
- 2022年编程语言排名,官方数据来了,让人大开眼界
- QT source code analysis -- QObject (4)
- leetcode 242. Valid Anagram(有效的字母异位词)
- 【ONE·Data || 链式二叉树】
- What is the function of data parsing?
- Sharpness evaluation method without reference image
- Realization of digital tube display based on C51
- What is scope and scope chain
- Complete collection of common error handling in MySQL installation
- 费曼学习法(符号表)
猜你喜欢

Idea connection database

Cookies and sessions
![[circuit design] open collector OC output of triode](/img/48/5a111b81f0d99990fbcc5263313c07.jpg)
[circuit design] open collector OC output of triode

Mathematical modeling -- Optimization of picking in warehouse

Mathematical modeling -- heat conduction of subgrade on Permafrost

Internet of things development -- mqtt message server emqx

iVX低代码平台系列详解 -- 概述篇(二)

Have you ever encountered the situation that the IP is blocked when crawling web pages?

Introduction to shared data center agent

Monadic linear function perceptron: Rosenblatt perceptron
随机推荐
Motionlayout -- realize animation in visual editor
Mathematical modeling -- heat conduction of subgrade on Permafrost
What is browser fingerprint recognition
(arxiv-2018) 重新审视基于视频的 Person ReID 的时间建模
LM13丨形态量化-动量周期分析
Idea connection database
Click the button to slide to the specified position
Promise solves asynchrony
Prevent repeated clicks
Comprehensive use method of C treeview control
Number of consecutive subarrays with leetcode/ and K
Qt源码分析--QObject(4)
在Qt中如何编写插件,加载插件和卸载插件
[circuit design] convert AC AC to DC
QT learning notes -37.qregex and regular expressions
Related function records about string processing (long-term update)
物联网开发--MQTT消息服务器EMQX
What is the function of data parsing?
druid. IO custom real-time task scheduling policy
特殊流&Properties属性集实例遇到的问题及解决方法