美文网首页
2018-05-03 gyp WARN EACCES user

2018-05-03 gyp WARN EACCES user

作者: 施天助 | 来源:发表于2018-05-03 11:32 被阅读0次

npm 安装 local-npm等库总报:

gyp WARN EACCES user "root" does not have permission to access the dev dir "/usr/local/lib/node_modules/local-npm/node_modules/leveldown/.node-gyp/9.10.0"。。。

直接百度这个错误找到:

does not have permission to access

我居然忘了权限访问问题基本都可以先试试这么简单的一句:

sudo chmod -R 777 /var/root

可执行权限。

相关文章

网友评论

      本文标题:2018-05-03 gyp WARN EACCES user

      本文链接:https://www.haomeiwen.com/subject/pwekrftx.html