- Home
- Discord
- Error codes
- JavaScript error
Error codeDiscordDesktop app (the steps given are for Windows)
Discord: "JavaScript error"
JavaScript error when launching Discord
A JavaScript error message appears when you try to start the Discord app. Discord's fix is to wipe the app's local data folders and reinstall.
Fix it
How to fix "JavaScript error"
Press Windows key + R, type %appdata% and delete the Discord folder.
Press Windows key + R again, type %LocalAppData% and delete the Discord folder there too.
Reinstall Discord.
If the error comes back, contact Discord support at dis.gd/contact.
From Discord's help pages: support.discord.com, in our words. Checked on 5 November 2026. If the steps do not help, Discord's own support is the next stop.
More