npm在mac报错current user ("nobody") does not have permission to access the dev dir "...的解决

发表于 2022-03-23 06:42:50 (UTC+0)

运行如下指令后, 不在提示此报错

sudo npm -g config set user root

参考文献:

https://www.jianshu.com/p/91def9f4dc96

0.066241s