ERR! code EACCES

发布时间 2023-12-15 21:31:16作者: STDU_DREAM

 

ERR! code EACCES

ERR! syscall mkdir

ERR! path /Users/licc/.npm/_cacache/index-v5/50

ERR! errno -13

 

ERR! Your cache folder contains root-owned files, due to a bug in

ERR! previous versions of npm which has since been addressed.

 

ERR! To permanently fix this problem, please run:

ERR!   sudo chown -R 501:20 "/Users/licc/.npm"

 

ERR! A complete log of this run can be found in: /Users/licc/.npm/_logs/2023-12-14T12_12_52_430Z-debug-0.log

 今天处理这个问题未解决需要解决