Validation error when importing builders from `discord.js` rather than `@discordjs/builders`
I ended up opening a thread on the d.js server because I thought it was related to it but turns out seems to only happen when used with Sapphire
6 Replies
Check your dependencies versions. Probably multiple versions there. Either dedupe or if that doesn't work due to conflicting semver locate what pulls in the lower version and fix it or make a pr to fix it.
Hey, I've just double checked and I have a single version of
@discordjs/builders
We pass the code 1:1 to djs even before calling any validations whatsoever...
Could it have something to do with the fact I'm using npm workspaces which hoists common modules between my workspaces to the root dir?
It could yes
Validate the versions in every package and in node_modules
Idk if npm ls respects workspaces
You can also manually check your package-lock