Discord fatal JavaScript error? Diagnose it and try 7 fixes
✓ Reviewed & updated July 19, 2026Start by identifying when the dialog appears. A fatal JavaScript error before Discord opens usually points to a stuck process or damaged local installation. An error after Discord opens, during voice or while using an extension belongs to a different branch. Copy the first named file and the first readable error line before closing the dialog.
Discord's own error guide recommends checking service status, removing its AppData and LocalAppData folders, and reinstalling for persistent JavaScript errors. The steps below put those actions in a lower-impact order and avoid blanket antivirus exclusions.
Quick checklist
- Check Discord status and record the exact error
- End every Discord and Update process
- Remove forced administrator or compatibility settings
- Check Security history for a specific Discord block
- Rename Discord's local data folders
- Install a fresh official copy
- Escalate with the error and Windows details
Match the symptom before changing files
| What you see | Best first check | What it helps isolate |
|---|---|---|
| Discord never appears; only the JavaScript dialog opens | End Discord and Update processes | A stuck updater or incomplete launch |
| The error began immediately after a Discord update | Rename the two Discord data folders | Damaged local update files |
| Windows Security names a Discord file | Review that exact detection | A quarantined file or a genuinely unsafe download |
| Discord web also fails for many users | Check the official status page | A service incident, not a Windows installation problem |
| A new install shows the identical stack trace | Save the trace and contact Discord Support | A repeatable app or environment issue needing evidence |
The 7 checks, from lowest to highest impact
Check status and capture the useful part of the error
Open Discord's official status page in a browser. If no incident matches, photograph or copy the dialog and note the first file path. A path under Discord's own local folders supports the installation branch; an unrelated DLL needs separate investigation.
End Discord and its updater, then restart
- Press
Ctrl + Shift + Escand open Task Manager. - End clearly named Discord and Update processes related to Discord.
- Restart Windows, then open Discord once from the Start menu.
Remove forced compatibility settings
Right-click the Discord shortcut, choose Properties → Compatibility, and clear forced compatibility mode or permanent administrator mode if you previously enabled them. Apply the change and launch normally.
Review Windows Security history
Open Windows Security → Virus & threat protection → Protection history. Look for an event at the same time as the failure and verify that its path belongs to an official Discord installation.
- If no event names Discord, do not add an exclusion.
- If a file came from an unofficial installer, remove it and obtain Discord from the official download page.
- If a managed security product blocked the app, ask the administrator to review the event.
Rename Discord's two local data folders
Discord support directs users with a corrupt installation to remove the Discord folders in Roaming and Local AppData. Renaming first makes the action reversible.
- Close Discord fully.
- Press
Windows + R, enter%appdata%, and rename Discord to Discord.old. - Repeat with
%localappdata%. - Open Discord and allow it to recreate clean folders.
Reinstall from Discord's official download
Uninstall Discord through Windows Settings, restart, and download a fresh Windows installer from Discord. If fix 5 was not completed, remove or rename the two Discord folders according to Discord's corrupt-installation instructions before reinstalling.
Escalate a repeatable error with evidence
If a clean install produces the same dialog, submit a Discord Support request with the screenshot or copied stack trace, Windows version, Discord channel (stable/PTB/canary), installation source and the steps already tested. Mention any security event by its exact name rather than saying only that antivirus is involved.
Primary references: Discord Support's Error Message Guide, Windows corrupt-installation steps, service status, and official download page.
Frequently asked questions
Does this message prove my PC has a virus?
No. The message describes an application failure, not its cause. Use the named path, official installer source and security history to decide which branch applies.
Will renaming AppData delete my messages or servers?
Messages and server membership are account-based, but local settings and cached data may be rebuilt. Confirm your login and two-factor access first.
Should I enable the QWAVE audio service?
Not as a default response to every launch-time JavaScript error. Discord's current official JavaScript guidance emphasizes local Discord folders and reinstalling. Change a Windows service only when the error or Discord Support specifically points there.
Should Discord always run as administrator?
No. Normal launch is the safer baseline. Use elevation only for a specific, documented test, then remove it.
If the updater loops instead of showing a JavaScript dialog, use the Discord Update Failed guide. If no window appears, see Discord won't open.
Send us the details →