EACCES:权限被拒绝,rmdir'build'

时间:2018-09-20 04:47:21

标签: node.js

我正在尝试安装nodehun。

研究调试5小时后,出现以下错误:

  

nodehun@2.0.12安装/ usr / lib / node_modules / npm / node_modules / node-gyp / node_modules / nodehun   node-gyp重建

     

gyp错误!清除错误gyp ERR!堆栈错误:EACCES:权限被拒绝,   rmdir'build'gyp错误!系统Linux 4.15.0-29-通用gyp错误!命令   “ / usr / bin / node”   “ /usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js”   “重建”石膏错误!电脑   / usr / lib / node_modules / npm / node_modules / node-gyp / node_modules / nodehun   糟糕!节点-v v9.11.2 gyp ERR! node-gyp -v v3.6.2 gyp错误!不好   npm ERR!代码ELIFECYCLE npm ERR! errno 1 npm错误! nodehun@2.0.12   安装:node-gyp rebuild npm错误!退出状态1 npm ERR! npm ERR!   在nodehun@2.0.12安装脚本处失败。 npm ERR!这可能是   npm没问题。可能还有其他日志记录输出   以上。

我不知道“ build”在哪里或为什么sudo或chown无法解决此错误。请帮忙。

0 个答案:

没有答案