Skip to content
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

discord.js@12.5.1 is incompatible with nodejs<12.0.0 and flowabot needs lts-dubnium(10.x.x) to run #49

Closed
nekoraw opened this issue Feb 11, 2021 · 2 comments

Comments

@nekoraw
Copy link

nekoraw commented Feb 11, 2021

image
image

updating to nodejs-jts-erbium (12.x.x) solves this problem but the bot does not start anymore

image

2021-02-11T15_04_10_729Z-debug.log

same thing with latest nodejs version
tried reinstalling the bot but the error persists

@LeaPhant
Copy link
Owner

It's a mess right now, some dependencies break on nodejs >10 but using an outdated discord.js version brings other problems. I'm in the process of rewriting some code to make everything work on nodejs 14+ and make use of the new features. To make it work right now you can force using discord.js 11 by running npm i discord.js@11.

@LeaPhant
Copy link
Owner

LeaPhant commented Apr 9, 2021

I pushed a ton of changes over the last 2 days which now make it default to Discord.js 12 and will make it run Node.js 14 and up, you should try again. :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants