我正在尝试安装nodehun .

研究和调试5小时后,我收到以下错误:

nodehun@2.0.12 install / usr / lib / node_modules / npm / node_modules / node-gyp / node_modules / nodehun node-gyp rebuild gyp ERR!清除错误gyp ERR!堆栈错误:EACCES:权限被拒绝,rmdir'build'gyp ERR!系统Linux 4.15.0-29-通用gyp ERR!命令“/ usr / bin / node”“/ usr / lib / node_modules / npm / node_modules / node -gyp / bin / node -gyp.js”“rebuild”gyp ERR! cwd / usr / lib / node_modules / npm / node_modules / node-gyp / node_modules / nodehun gyp ERR! node -v v9.11.2 gyp ERR! node-gyp -v v3.6.2 gyp ERR!不行npm ERR!代码ELIFECYCLE npm ERR!错误1 npm ERR! nodehun@2.0.12 install:node-gyp rebuild npm ERR!退出状态1 npm ERR!错误的ERR!在nodehun@2.0.12安装脚本失败 . 错误的ERR!这可能不是npm的问题 . 上面可能有额外的日志记录输出 .

我不知道'build'在哪里或为什么sudo或chown不会修复此错误 . 请帮忙 .