[英]Unable to run hubot locally
I keep getting this error.我不断收到此错误。 How should I solve it?我该如何解决?
npm WARN hubot-slack@4.5.4 requires a peer of hubot@^2.0.0 but none is installed. npm WARN hubot-slack@4.5.4 需要一个hubot@^2.0.0 的对等体,但没有安装。 You must install peer dependencies yourself.您必须自己安装对等依赖项。
audited 339 packages in 2.26s found 2 vulnerabilities (1 low, 1 high) run
npm audit fix
to fix them, ornpm audit
for details ./hubot: 8: exec: node_modules/.bin/hubot: not found在 2.26 秒内审计了 339 个包,发现 2 个漏洞(1 个低,1 个高)运行npm audit fix
来修复它们,或npm audit
了解详细信息 ./hubot: 8: exec: node_modules/.bin/hubot: not found
This can be a dependency issue.这可能是一个依赖性问题。 Do check the dependencies.请检查依赖项。 Also run the commands npm audit and npm audit fix to get deep into the issue.还可以运行命令npm audit和npm audit fix以深入了解问题。
You should run hubot not from the bin
directory but from the parent directory as:您应该不是从bin
目录而是从父目录运行 hubot 为:
bin/hubot
Reference: https://github.com/hubotio/hubot/issues/1061#issuecomment-179422364参考: https : //github.com/hubotio/hubot/issues/1061#issuecomment-179422364
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.