npm WARN checkPermissions Missing write access to /usr/local/lib/node_modules
解决方法:
修改npm包所安装目录的权限:sudo chown -R $USER /usr/local 然后输入密码就可以了
原文地址:https://www.cnblogs.com/jimmy1293/p/10822802.html
时间: 2024-11-06 03:05:46
npm WARN checkPermissions Missing write access to /usr/local/lib/node_modules
修改npm包所安装目录的权限:sudo chown -R $USER /usr/local 然后输入密码就可以了
原文地址:https://www.cnblogs.com/jimmy1293/p/10822802.html