operation not permitted, open 'D:\nodejs\node_cache\_cacache\index-v5\97\6c\a0b1a63ab208daa6eac00fff939f6bd946ecf84123cecf5f105666b54bd3'
时间: 2023-08-16 14:04:56 浏览: 89
这个错误是由于npm没有足够的权限导致的。解决这个问题有几种方法。第一种方法是以管理员身份打开控制台,但这种方法不太方便,不建议经常使用。第二种方法是在node的安装位置,将文件夹node_cache和node_global赋予用户权限。这种方法可以解决问题并且是一劳永逸的解决方案。具体操作步骤如下:右击属性,选择用户,点击编辑,打上对钩,然后点击应用。[2]
在你的情况下,你可以尝试找到node.js的文件夹所在位置,右击文件夹选择属性,然后按照上述步骤进行操作,将文件夹赋予用户权限。这样应该可以解决你遇到的问题。[3]
相关推荐
![pdf](https://img-home.csdnimg.cn/images/20210720083512.png)
![pdf](https://img-home.csdnimg.cn/images/20210720083512.png)
![pdf](https://img-home.csdnimg.cn/images/20210720083512.png)
![pdf](https://img-home.csdnimg.cn/images/20210720083512.png)
![pdf](https://img-home.csdnimg.cn/images/20210720083512.png)
![pdf](https://img-home.csdnimg.cn/images/20210720083512.png)
![zip](https://img-home.csdnimg.cn/images/20210720083736.png)
![rar](https://img-home.csdnimg.cn/images/20210720083606.png)
![rar](https://img-home.csdnimg.cn/images/20210720083606.png)
![rar](https://img-home.csdnimg.cn/images/20210720083606.png)
![rar](https://img-home.csdnimg.cn/images/20210720083606.png)
![rar](https://img-home.csdnimg.cn/images/20210720083606.png)
![rar](https://img-home.csdnimg.cn/images/20210720083606.png)
![rar](https://img-home.csdnimg.cn/images/20210720083606.png)
![rar](https://img-home.csdnimg.cn/images/20210720083606.png)