Hubot startup and runtime issues

These issues might occur as soon as you have followed the steps mentioned in "Setting up specific bots" page and try to run your bot for the first time:

Running yo hubot yields -> SyntaxError: Unexpected token ...

Upgrade your node and npm (Recommended: Node 8.x.x and npm5.x.x) and retry.

Reference: Click here

node/nodejs not found

Create a symbolic link between node and nodejs to fix any naming conflicts:

sudo ln -s /usr/bin/nodejs /usr/bin/node

TypeError: Parameter 'url' must be a string, not undefined

You need to set the MONGO_DB_URL as an environment variable.

export MONGO_DB_URL=mongodb://<mongodb_host_ip>:<port>

After setting try restarting the bot with ./bin/hubot or ./bin/hubot -a <adapter> command.

Help command gives large/redundant outputs

Navigate to the myhubot/external-scripts.json file and remove hubot-help from the array. Thereafter, restart the bot.

Reload command is not responding

Navigate to myhubot/hubot-scripts.json file and add "reload-scripts.coffee" as an element in the array. Thereafter, restart the bot.