MacOS解决npm权限不足问题

Terwer 前端开发评论235字数 148阅读0分29秒阅读模式

MacOS解决npm权限不足问题

sudo chown -R `whoami` ~/.npm
sudo chown -R `whoami` /usr/local/lib/node_modules

错误提示如下:文章源自浅海拾贝-https://blog.terwergreen.com/mac-os-solves-the-problem-of-insufficient-npm-permissions-zugbum.html

permission denied, access '/usr/local/lib/node_modules/'

文章源自浅海拾贝-https://blog.terwergreen.com/mac-os-solves-the-problem-of-insufficient-npm-permissions-zugbum.html

相关文章
  • 扫码加我微信
  • 验证消息请输入:来自你的博客
  • weinxin
  • 我的微信公众号
  • 微信扫一扫与我交流吧
  • weinxin
Terwer
匿名

发表评论

匿名网友 填写信息

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen: