在mac中,npm安装或者卸载失败,提示没有权限

 

在终端输入 sudo chown -R $USER /usr/local 

输入开机密码

 

posted @ 2019-08-08 19:58  karila  阅读(497)  评论(0编辑  收藏  举报