How to Resolve Discord ‘Fatal JavaScript Error’ on Windows 10 Computer

Many Discord users see an error every time they open the program. Discord fails to start and the error message “A fatal javascript error has occurred” appears.

Although this is a common error, there are several effective methods to fix it. If you see a fatal javascript error in Discord, follow these tips.

What causes a “fatal javascript error”?

When a fatal JavaScript error occurs in Discord, its cause is not immediately obvious. In most cases, however, it’s due to a broken installation of Discord or another application or service (such as your antivirus software) that doesn’t allow it to work properly.

How to repair ‘Fatal JavaScript Error’?

Launch Discord as an administrator

  1. Right-click on the Discord icon and select ‘Properties’.
  2. A dialog box will appear. Click on “Compatibility” and then on “Run this program as administrator.”
  3. Then click “Apply” and “OK”.
  4. Now double click on the icon to launch the application.

Uninstall Discord Appdata

  1. Press Windows + R on your keyboard, a dialog box will open.
  2. Enter “%appdata%” as shown in the image below and click “OK”.
  3. Click on the “Discord” folder and press “Delete” to delete all files.
  4. Now press the Windows + R shortcut on your keyboard again, and a dialog box will open.
  5. Enter “%localappdata%” as shown in the image below and click “OK”.
  6. Click on the “Discord” folder and press the “Delete” key to delete all files.

Changing the startup type of the Quality Windows Audio Video Experience Service

  1. Press Windows + R on your keyboard, search for “services.MSC” and press “OK”.
  2. Search for “Quality Windows Audio Video Experience.” Right-click and select “Properties.”
  3. A dialog box will open. Click on the “Stop” button.
  4. Now click on “Start” to restart the services.
  5. Click on “Start Type” and set it to “Automatic”.
  6. Click on “Login” and then on “Browse”.
  7. Paste your account name into the “Enter Selectable Object Name” text box and click “OK”.
  8. Click “Apply” and then “OK”.
  9. Now restart your computer.

Using the Command Prompt

  1. Find Command Prompt in the search bar and right-click it.
  2. Click “Run as administrator.”
  3. Type “gpupdate /force” as shown below. The policy update process will appear on the screen and then be complete.
  4. Once the policy update is complete, you can try restarting Discord.

Frequently Asked Questions

One of the main causes of fatal Discord JavaScript errors is improper software installation. The user should uninstall Discord from the system and then reinstall it to fix the error.

Discord or its settings may be corrupt - In this case, the Discord installation is to blame, so either reset the settings or reinstall the application. Discord is running with administrator privileges - Running Discord with administrator privileges has been known to cause this problem, so make sure you remove that option.

  1. Delete Discord files in Localappdata and Appdata.
  2. Whitelist the Discord installation files with your antivirus software.
  3. Uninstall and reinstall Discord.