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:
update your dependencies. Permissions is removed in DJS v14, you need matching versions of all the Sapphire dependencies (their latest versions)
Jump to solution
4 Replies
Solution
Favna
Favna17mo ago
update your dependencies. Permissions is removed in DJS v14, you need matching versions of all the Sapphire dependencies (their latest versions)
Favna
Favna17mo ago
and that has nothing to do with TS, it's a JS runtime error
Spinel
Spinel17mo ago
<:_:861671077365284884> TypeError The TypeError object represents an error when an operation could not be performed, typically (but not exclusively) when a value is not of the expected type.
integral
integral17mo ago
that made me feel dumb lol, but yeah the problem was that i forgot to update sapphire/decorators it now works thanks lol