Karthik
Karthik

Reputation: 149

Unable to run hubot locally

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, or npm audit for details ./hubot: 8: exec: node_modules/.bin/hubot: not found

Upvotes: 1

Views: 528

Answers (2)

Shipra
Shipra

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

user10551897
user10551897

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

Related Questions