当前位置:网站首页>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
边栏推荐
- The crawler returns null when parsing with XPath. The reason why the crawler cannot get the corresponding element and the solution
- Share the office and improve the settled experience
- Search tree judgment (25 points)
- I don't understand time, timestamp and time zone. Look at this article
- Single chip microcomputer nixie tube stopwatch
- 汇编语言与逆向工程 栈溢出漏洞逆向分析实验报告
- Whether the same binary search tree (25 points)
- PCTP考试经验分享
- Find the sum of simple types of matrices
- Illegal character in scheme name at index 0:
猜你喜欢

Chris LATTNER, father of llvm: the golden age of compilers

Brush classic topics

cadence的工艺角仿真、蒙特卡洛仿真、PSRR

php基于哈希算法出现的强弱比较漏洞

Automatic differentiation and higher order derivative in deep learning framework

BK3633 规格书

Redis Desktop Manager for Mac

2022-04-22 openebs cloud native storage

共享办公室,提升入驻体验

调包求得每个样本的k个邻居
随机推荐
Rembg split mask
Judgment on heap (25 points) two insertion methods
Strength comparison vulnerability of PHP based on hash algorithm
Download and install bashdb
Concave hull acquisition method based on convex hull of point cloud
2021 Li Hongyi's adaptive learning rate of machine learning
Go语言自学系列 | golang结构体的初始化
Go语言自学系列 | golang嵌套结构体
Output first order traversal according to second order and middle order traversal (25 points)
微信:获取单个标签所有人
2022-04-22 openebs cloud native storage
Study notes of deep learning (8)
L2-022 rearrange linked list (25 points) (map + structure simulation)
L2-024 部落 (25 分)(并查集)
I don't understand time, timestamp and time zone. Look at this article
Notes on xctf questions
LeetCode396. Rotate array
Virtual online exhibition - Online VR exhibition hall realizes 24h immersive exhibition viewing
valgrind和kcachegrind使用運行分析
是否完全二叉搜索树 (30 分)