当前位置:网站首页>npm报错 :operation not permitted, mkdir ‘C: \Program Files \node js \node_ cache _ cacache’
npm报错 :operation not permitted, mkdir ‘C: \Program Files \node js \node_ cache _ cacache’
2022-04-23 09:01:00 【一个博客】
1. Unhandled re jection Error: EPERM: operation not permitted, mkdir ‘C: \Program Files \node js \node_ cache _ cacache’
2. Error: EPERM: operation not permitted, mkdir ‘C: \Program Files \node js node_ global’
解决方法
1.找到 C:\Users(用户\你的用户名).npmrc 这个文件,把内容替换为
prefix=C:\Programming Software\nodejs\node_global
cache=C:\Programming Software\nodejs\node_cache
registry = http://registry.cnpmjs.or
2.如果是第一种错误,原因是你需要管理员权限安装
版权声明
本文为[一个博客]所创,转载请带上原文链接,感谢
https://blog.csdn.net/weixin_45784582/article/details/105108341
边栏推荐
- Enterprise wechat application authorization / silent login
- Go language self-study series | golang structure as function parameter
- How does kubernetes use harbor to pull private images
- Chris LATTNER, father of llvm: the golden age of compilers
- 資源打包關系依賴樹
- PLC的点表(寄存器地址和点表定义)破解探测方案--方便工业互联网数据采集
- Four pictures to understand some basic usage of Matplotlib
- 完全二叉搜索树 (30 分)
- Applet in wechat and app get current ()
- Consensus Token:web3.0生态流量的超级入口
猜你喜欢
1099 建立二叉搜索树 (30 分)
Matlab draw five-star red flag
Introduction to matlab
Valgrind et kcachegrind utilisent l'analyse d'exécution
PLC point table (register address and point table definition) cracking detection scheme -- convenient for industrial Internet data acquisition
What is augmented reality technology? Where can it be used?
Use of Arthas in JVM tools
After a circle, I sorted out this set of interview questions..
PLC的点表(寄存器地址和点表定义)破解探测方案--方便工业互联网数据采集
企业微信应用授权/静默登录
随机推荐
ONEFLOW learning notes: from functor to opexprinter
L2-024 部落 (25 分)(并查集)
Redis Desktop Manager for Mac
Go language self-study series | initialization of golang structure
Automatic differentiation and higher order derivative in deep learning framework
Study notes of deep learning (8)
汇编语言与逆向工程 栈溢出漏洞逆向分析实验报告
L2-024 tribe (25 points) (and check the collection)
[indexof] [lastIndexOf] [split] [substring] usage details
Swagger document export custom V2 / API docs interception
微信:获取单个标签所有人
First principle mind map
Multi view depth estimation by fusing single view depth probability with multi view geometry
Harbor enterprise image management system
Wechat: get the owner of a single tag
在sqli-liabs学习SQL注入之旅(第十一关~第二十关)
Brush classic topics
求简单类型的矩阵和
爬虫使用xpath解析时返回为空,获取不到相应的元素的原因和解决办法
Use of Arthas in JVM tools