npm WARN checkPermissions Missing write access to /usr/local/lib/node_modules

Posted jimmy1293

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了npm WARN checkPermissions Missing write access to /usr/local/lib/node_modules相关的知识,希望对你有一定的参考价值。

npm WARN checkPermissions Missing write access to /usr/local/lib/node_modules

 

 

解决方法:

修改npm包所安装目录的权限:sudo chown -R $USER /usr/local   然后输入密码就可以了

以上是关于npm WARN checkPermissions Missing write access to /usr/local/lib/node_modules的主要内容,如果未能解决你的问题,请参考以下文章

npm WARN checkPermissions 缺少对 /usr/local/lib/node_modules 的写访问权限

WARN checkPermissions Missing write access to /usr/local/lib/node_modules

npm WARN npm npm does not support Node.js v16.14.2 npm WARN npm You should probably upgrade to a new

node更新报错:checkPermissions Missing write access to /usr/lib/node_modules/n

text npm WARN版本无效

安装vue命令行工具(CLI),npm WARN