Serhii Hontarenko

Results 12 comments of Serhii Hontarenko

I'm also facing the same problem

@joeyguerra I have the same issue with prompts for inputs even when arguments are passed. As a result, my image build broke :(

@joeyguerra Сan you provide an example of Dockerfile with recommended installation way hubot-slack?

``` FROM node:20.12 ARG GITHUB_TOKEN ARG HUBOT_SLACK_TOKEN ENV GITHUB_TOKEN="${GITHUB_TOKEN}" \ HUBOT_SLACK_TOKEN="${HUBOT_SLACK_TOKEN}" RUN npm i -g [email protected] [email protected] && \ addgroup hubot && \ adduser --disabled-password --gecos '' --ingroup hubot hubot...

@joeyguerra With latest version generator-hubot, i am getting an error: ![image](https://github.com/hubotio/generator-hubot/assets/94844601/51af50e3-a303-4df6-b4c4-2eaf9f354868) `./bin/hubot --adapter slack`

@joeyguerra With downgraded versions i got dependency conflict: ![image](https://github.com/hubotio/generator-hubot/assets/94844601/ad7a21b3-ede9-4bc3-acfb-cc8aa542aeca) And if using `--force`: `{"level":50,"time":1712071439122,"pid":93,"hostname":"40391f503aab","name":"HuBot","msg":"Cannot load adapter slack - Error: Cannot find module 'hubot-slack'\nRequire stack:\n- /home/hubot/node_modules/hubot/src/robot.js\n- /home/hubot/node_modules/hubot/es2015.js\n- /home/hubot/node_modules/hubot/index.js\n- /home/hubot/node_modules/hubot/bin/hubot.js\n- /home/hubot/node_modules/hubot/bin/hubot"}`

@joeyguerra I got the same errors

I think trouble in this function https://github.com/hubotio/hubot/blob/main/src/Robot.mjs#L520-L522

``` {"level":50,"time":1712144903526,"pid":178,"hostname":"67f22d073dea","name":"HuBot","msg":"Cannot load adapter [no path set] slack - TypeError: (intermediate value).default.use is not a function"} file:///home/hubot/node_modules/hubot/src/Robot.mjs:523 return await (await import(adapterPath)).default.use(this) ^ TypeError: (intermediate value).default.use is not a function at...