-
Notifications
You must be signed in to change notification settings - Fork 638
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
hubot@>4.0.0 Cannot load adapter #653
Comments
Hey @jdoss! Thank you for sharing this issue as well as a workaround for it! Since this project is no longer under active development, there are no immediate plans to support the latest versions of Hubot. However, since others might encounter this same issue we can keep this issue open for now. Really appreciate your investigation into this, and I also hope pinning to |
No problem @zimeg. Pinning to |
Do not update Hubot to v4 or upper. ref: slackapi/hubot-slack#653 Do not update CoffeeScript to v2 because unknown error occurred. Do not update node-fetch to v3 because it is ES Module. ```shell $ ncu --reject coffeescript,node-fetch -u $ (edit line of "hubot" in package.json) $ npm install ```
I created a new Slack adapter for use with the latest Hubot version if you're interested in updating. I know it might be some work to update, though. Let me know how I can help. |
I am also facing different issues while trying hubot-slack adapter. npm list -g
package.json
external-scripts.json
And after running:
Not sure what i am missing but i can't make it work. Any help would be appreciated. |
@evercast-mahesh2021, that error is because it's not running the script through coffee script. I got a successful startup with these steps:
"scripts": {
"start": "hubot --adapter slack"
}
➜ myhubot git:(main) ✗ node --version
v20.6.0 |
Hi @joeyguerra thank you so much for the help. I got passed this issue but facing another one. Any idea? It is complaining about hubot module. Thanks
|
@evercast-mahesh2021 delete |
Oh, awesome. It worked. Thanks for all the help. |
HI guys, has anyone managed to find any other solution? I followed all the previous steps with the same versions that were mentioned but I still have the same problem |
@leonardoivt I believe that error is from not having |
hey @joeyguerra thanks for reply, sorry for taking so long to respond, I managed to solve the problem using the dependencie versions stipulated in this thread; |
This may be necessary to ensure the app is transpiled correctly. Use coffeescript 1.11.1 as suggested in slackapi/hubot-slack#653
Any version of Hubot greater than 4.0.0 can no longer use this adapter.
I had pin the following versions to get things working again.
The text was updated successfully, but these errors were encountered: