当前位置:网站首页>Your cache folder contains root-owned files, due to a bug in npm ERR! previous versions of npm which
Your cache folder contains root-owned files, due to a bug in npm ERR! previous versions of npm which
2022-06-21 16:05:00 【yunchong_zhao】
这个好像是你的npm除了问题
我是用17.* 版本安装vite的时候 依赖一直出问题 安装不上
我也尝试清楚npm 缓存但是不行
不过报错也告诉了你 怎么去处理
因为我安装的是nvm 各种node版本随意切换
就是运行的这个 sudo chown -R 501:20 “/Users/yunchongzhao/.npm”
注意每个电脑可能不太一样哈 不要拿着我上面写的那个直接去运行,
你看看你的电脑上的那个报错
最后就解决了 可以正常运行了
关注我。持续更新前端知识
边栏推荐
- 变量
- [MySQL learning notes 16] permission management
- Oracle JDBC Driver
- Still using xshell? Try this cool SSH terminal tool, which is very powerful!
- 剑指 Offer II 089. 房屋偷盗 / 剑指 Offer II 090. 环形房屋偷盗
- 「运维有小邓」Active Directory批量修改用户
- 关于xlrd库的基础操作(新手向)
- PowerPoint tutorial, how to change page orientation and slide size in PowerPoint?
- Jetpack Compose 的阶段
- 一体化伺服电机与施耐德PLC TM241CEC24T在Canopen协议下的应用
猜你喜欢

贝叶斯公式的两种理解

Nanjing University static program analyses -- Introduction learning notes

Matlab中xticks函数

20 pyGame module to make a jumping ball game

Common formula of derivative__ Common formulas of indefinite integral

Integrated base scheme presentation
![[MySQL learning notes 17] sorting out common functions](/img/11/cb4ea6750cc6dca5a39a65de443074.png)
[MySQL learning notes 17] sorting out common functions

【Leetcode】297. 二叉树的序列化与反序列化 (困难)

Function call model

PowerPoint tutorial, how to change page orientation and slide size in PowerPoint?
随机推荐
MATLAB实现的基于对称TSP问题研究
栈的生长方向和内存生长方向
Exness: the impact of inflation in the United States is too great, and the leaders of the Federal Reserve have expressed their position one after another
[MySQL learning notes 17] sorting out common functions
LeetCode 25:K个一组翻转链表
Compose 中的附带效应
设计一个打印整棵树的打印函数
Force deduction solution summary 1108-ip address invalidation
【mysql学习笔记15】用户管理
RTMP webrtc protocol OpenSSL installation
Oracle JDBC Driver
程序员进修之路
Set up your own website (11)
Template: p6114 [template] Lyndon Decomposition & runs (string)
Serialization and deserialization of binary tree
Jetpack Compose 管理状态(一)
Not this year's 618?
[MySQL learning notes 11] sort query
The beta version of move protocol is stable, and it is temporarily decided to expand the scale of the prize pool
From Beijing "moisten" to Chicago, engineer Baoyu "moisten" the secret of growth