ts not compiling well
I don't know if it's a discord.js/sapphire issue or just a compiling issue, but when compiling normally or with ts-node, bot doesn't run at all but instead shows an error on all command files (picture below) and I dont know how to fix it
Solution:Jump to solution
update your dependencies.
Permissions
is removed in DJS v14, you need matching versions of all the Sapphire dependencies (their latest versions)4 Replies
Solution
update your dependencies.
Permissions
is removed in DJS v14, you need matching versions of all the Sapphire dependencies (their latest versions)and that has nothing to do with TS, it's a JS runtime error
that made me feel dumb lol, but yeah the problem was that i forgot to update sapphire/decorators
it now works
thanks lol