当前位置:网站首页>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
边栏推荐
- 在sqli-liabs学习SQL注入之旅(第十一关~第二十关)
- LGB, XGB, cat, k-fold cross validation
- Four pictures to understand some basic usage of Matplotlib
- L2-024 tribe (25 points) (and check the collection)
- cadence的工艺角仿真、蒙特卡洛仿真、PSRR
- Single chip microcomputer nixie tube stopwatch
- Go language self-study series | initialization of golang structure
- Use of Arthas in JVM tools
- MATLAB入门资料
- K210 learning notes (II) serial communication between k210 and stm32
猜你喜欢

Consensus Token:web3. 0 super entrance of ecological flow

First principle mind map

Four pictures to understand some basic usage of Matplotlib

Multi view depth estimation by fusing single view depth probability with multi view geometry

计算神经网络推理时间的正确方法

搞不懂时间、时间戳、时区,快来看这篇

The K neighbors of each sample are obtained by packet switching

企业微信应用授权/静默登录

GUI编程简介 swing

PCTP考试经验分享
随机推荐
How does kubernetes use harbor to pull private images
请提前布局 Star Trek突破链游全新玩法,市场热度持续高涨
Introduction to GUI programming swing
Star Trek强势来袭 开启元宇宙虚拟与现实的梦幻联动
valgrind和kcachegrind使用運行分析
微信:获取单个标签所有人
Consensus Token:web3. 0 super entrance of ecological flow
Data visualization: use Excel to make radar chart
Initial experience of talent plan learning camp: communication + adhering to the only way to learn open source collaborative courses
Automatic differentiation and higher order derivative in deep learning framework
Single chip microcomputer nixie tube stopwatch
Latex mathematical formula
Go language self-study series | golang nested structure
是否完全二叉搜索树 (30 分)
Taxable income
政务中台研究目的建设目标,建设意义,技术创新点,技术效果
错误: 找不到或无法加载主类
[boutique] using dynamic agent to realize unified transaction management II
Basic usage of synchronized locks
1099 建立二叉搜索树 (30 分)