hubotio / hubot

A customizable life embetterment robot.
https://hubotio.github.io/hubot/
MIT License
16.64k stars 3.75k forks source link

Running Hubot from scratch doesn't default to using the builtin shell adapter #1636

Closed joeyguerra closed 1 year ago

joeyguerra commented 1 year ago
#! /bin/bash
mkdir myhubot
cd myhubot
npm init -y
npm I coffeescript
npx hubot

Results in

{"level":50,"time":1686411568010,"pid":4172,"hostname":"","name":"Hubot","msg":"Cannot load adapter [no path set] undefined - Error: Cannot find module 'hubot-undefined'\nRequire stack:\n- /src/hubotio/hubot/src/robot.js\n- /src/hubotio/hubot/es2015.js\n- /src/hubotio/hubot/index.js\n- /src/hubotio/hubot/bin/hubot.js\n- /src/hubotio/hubot/bin/hubot"}

I expected it to start with the builtin shell adapter.