当前位置:网站首页>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
边栏推荐
猜你喜欢
[58] length of the last word [leetcode]
【58】最后一个单词的长度【LeetCode】
搞不懂时间、时间戳、时区,快来看这篇
2022-04-22 openebs cloud native storage
Multi view depth estimation by fusing single view depth probability with multi view geometry
LeetCode_ DFS_ Medium_ 1254. Count the number of closed islands
L2-024 tribe (25 points) (and check the collection)
在sqli-liabs学习SQL注入之旅(第十一关~第二十关)
Resource packaging dependency tree
企业微信应用授权/静默登录
随机推荐
Cadence process angle simulation, Monte Carlo simulation, PSRR
1099 establish binary search tree (30 points)
Single chip microcomputer nixie tube stopwatch
Chris LATTNER, father of llvm: the golden age of compilers
L2-3 romantic silhouette (25 points)
扣缴义务人
L2-024 部落 (25 分)(并查集)
php基于哈希算法出现的强弱比较漏洞
Basic usage of synchronized locks
2021 Li Hongyi's adaptive learning rate of machine learning
Go language self-study series | golang structure pointer
Enterprise wechat application authorization / silent login
搞不懂时间、时间戳、时区,快来看这篇
LGB, XGB, cat, k-fold cross validation
BK3633 规格书
Matlab draw five-star red flag
玩转二叉树 (25 分)
汇编语言与逆向工程 栈溢出漏洞逆向分析实验报告
Complete binary search tree (30 points)
LeetCode_DFS_中等_1254. 统计封闭岛屿的数目