Cannot find module '@discordjs/collection'

I'm currently using bun and the project has been working find until today after i have updated both bun and discord.js to their latest versions. When i look into my node_modules folder, I do see the @discordjs/collection folder there so im not sure as to why it cannot find it.
2 Replies
d.js toolkit
d.js toolkit4w ago
- What's your exact discord.js npm list discord.js and node node -v version? - Not a discord.js issue? Check out #other-js-ts. - Consider reading #how-to-get-help to improve your question! - Explain what exactly your issue is. - Post the full error stack trace, not just the top part! - Show your code! - Issue solved? Press the button! - Marked as resolved by OP
ItsAsh
ItsAshOP4w ago
Not sure why it would be a bun issue There is no errors coming up other then at run time, I'll go back to bun 1.1 and see if that makes any difference I honestly not sure whats going on with my computer, nothing seems to be working for me today. Now im going to delete my node_module folder and look to install all packages once again That did nothing, I honestly just believe its my windows computer just doing something stupid.

Did you find this page helpful?