[Resolved] Cannot find module '.../node_modules/discord-api-types/v10.js'

Hopefully this will be a quick fix but I can't seem to figure it out. I'm getting this error after updating my production bot. I've tried npm install, npm update, npm upgrade, uninstalling discord-api-types (which didn't seem to do anything.
2 Replies
d.js toolkit
d.js toolkit2y ago
• What's your exact discord.js npm list discord.js and node node -v version? • Post the full error stack trace, not just the top part! • Show your code! • Explain what exactly your issue is. • Not a discord.js issue? Check out #useful-servers.
CombustibleToast
CombustibleToastOP2y ago
node -v: v18.12.1
node -v: v18.12.1
Resolved: I just needed to
rm -r node_modules/
rm package-lock.json
npm install
rm -r node_modules/
rm package-lock.json
npm install
Even though that's what started the issue in the first place, strange
Want results from more Discord servers?
Add your server