This repository was archived by the owner on May 27, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 637
This repository was archived by the owner on May 27, 2025. It is now read-only.
hubot@>4.0.0 Cannot load adapter #653
Copy link
Copy link
Open
Labels
auto-triage-skipbugM-T: A confirmed bug report. Issues are confirmed when the reproduction steps are documentedM-T: A confirmed bug report. Issues are confirmed when the reproduction steps are documented
Description
Any version of Hubot greater than 4.0.0 can no longer use this adapter.
$ npm list -g
/usr/local/lib
+-- coffeescript@1.11.1
+-- corepack@0.18.0
+-- generator-hubot@0.4.0
+-- hubot-diagnostics@1.2.0
+-- hubot-plusplus@1.4.0
+-- hubot-redis-brain@1.0.0
+-- hubot-slack@4.10.0
+-- hubot-yubikey-invalidation@0.0.3
+-- hubot@5.0.6
+-- npm@9.6.7
`-- yo@4.3.1
node@35a610129064:~$ hubot
{"level":50,"time":1688759766927,"pid":194,"hostname":"35a610129064","name":"hubot","msg":"Cannot load adapter [no path set] slack - /usr/local/lib/node_modules/hubot-slack/src/bot.coffee:22:10: error: unexpected newline\n super\u001b[1;31m\u001b[0m\n\u001b[1;31m ^\u001b[0m"}
I had pin the following versions to get things working again.
npm install -g yo generator-hubot coffeescript@1.11.1 hubot@"<4.0.0" hubot-slack hubot-plusplus hubot-redis-brain hubot-diagnostics hubot-yubikey-invalidation
node@35a610129064:~$ npm list -g
/usr/local/lib
+-- coffeescript@1.11.1
+-- corepack@0.18.0
+-- generator-hubot@0.4.0
+-- hubot-diagnostics@1.2.0
+-- hubot-plusplus@1.4.0
+-- hubot-redis-brain@1.0.0
+-- hubot-slack@4.10.0
+-- hubot-yubikey-invalidation@0.0.3
+-- hubot@3.5.0
+-- npm@9.6.7
`-- yo@4.3.1
node@35a610129064:~$ hubot
[Fri Jul 07 2023 20:04:28 GMT+0000 (Coordinated Universal Time)] INFO hubot-slack adapter v4.10.0
warn: SlackDataStore is deprecated and will be removed in the next major version. See project documentation for a migration guide.
warn: SlackDataStore is deprecated and will be removed in the next major version. See project documentation for a migration guide.
[Fri Jul 07 2023 20:04:28 GMT+0000 (Coordinated Universal Time)] ERROR No token provided to Hubot
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
auto-triage-skipbugM-T: A confirmed bug report. Issues are confirmed when the reproduction steps are documentedM-T: A confirmed bug report. Issues are confirmed when the reproduction steps are documented