LeaPhant / flowabot

Modular Discord bot with fun features including twitch commands and advanced osu! commands. 🌷

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

nekoraw opened this issue · comments

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

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.

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