Reputation: 149
I keep getting this error. How should I solve it?
npm WARN [email protected] requires a peer of hubot@^2.0.0 but none is installed. 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
Upvotes: 1
Views: 528
Reputation: 1299
You should run hubot not from the bin
directory but from the parent directory as:
bin/hubot
Reference: https://github.com/hubotio/hubot/issues/1061#issuecomment-179422364
Upvotes: 0
Reputation:
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.
Upvotes: 0