A compatible class export was not found.
When use HMR and edit files It always sends an error, no matter what file is being edited:
The command files load fine when the bot starts up and get executed without any problems
4 Replies
is
collection.js
empty though? or does it otherwise not export a Command class?not quite empty 😄
you register your commands externally? Interesting. I think you're the first person I see making use of that.
anyway I'm not quite sure what is happening there then. Best I can give you is to start your bot with a debugging and set some breakpoints at the lines that are in that stacktrace so you can analyze why it thinks it's empty.
I know there is a bug with HMR and using BulkOverwrite but that isn't this.