LeaPhant / flowabot

Modular Discord bot with fun features including twitch commands and advanced osu! commands. 🌷
MIT License
111 stars 33 forks source link

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 closed 3 years ago

nekoraw commented 3 years ago

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 commented 3 years ago

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 commented 3 years ago

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. :)