How to Fix a Discord Javascript Error

Discord has grown in popularity over the years, thereby increasing the number of people receiving Javascript errors. Javascript powers user interactivity online and helps control where a person goes when they click on a link or otherwise interact with a site. Javascript errors can create unexpected results and hinder an individual’s experience online.

Fortunately, these things are easy to fix, so we will walk you through how to do so below. 

How to Fix a Discord Javascript Error

There is no one way to fix a Discord Javascript error, so see which one you want to try first.

Uninstall and then Reinstall Discord

It is a classic way of fixing any program and is no different for Discord. You don’t want to just delete a Discord server – you want to completely uninstall and then re-install the app afterwards yourself.

  1. Open the “Start” menu on your computer and click on “Search”
  2. In the Search bar, type in “Control Panel,” and search
  3. In your search results, click “Uninstall the Program” in the control panel
  4. Look for the “Discord” name under all your stored programs, then click on it and select “Uninstall.”
  5. Once the program is uninstalled, right-click on the “Start” menu and select “Run.”
  6. You will see an “Open” box with a search bar next to it, where you will type “%appdata%” before clicking on “Run.”
  7. Delete the Discord folder
  8. Once again, you will see the “Open” box with the search bar, where you will type in “%localappdata%,” click on “Run,” and then delete the Discord folders again.
  9. Finally, go to the official Discord website, where you can install the newest version.

Change your Windows Audio Video Experience Settings

For Discord to run, you need quality audio and video settings on your computer, and sometimes, you just need to change the settings from Manual to Automatic.

  1. Use the key combination “Windows + R” to open a “Run Dialog box.
  2. Type in “services.msc” and press “Enter,” which will open the Services toolbox
  3. Locate the “Quality Windows Audio Video Experience” and right-click on it, which will take you to another menu.
  4. Select “Properties” in the new menu
  5. Clicking on the “Stop” button in the new menu should stop your Discord program from running, while clicking on the “Start” button will help it re-run.
  6. To switch your settings, check for the “Startup” drop-down menu in this same window, and then set your settings to “Automatic” instead of “Manual.”

How to Fix a Discord Javascript Error in Windows 7

If you are specifically running Discord on a Windows 7 computer, maybe these steps will help resolve the issue.

  1. Open the “Start” menu and go to “Computer”
  2. Right-click on “Computer” and select “Manage”
  3. You will now see the server manager, where you can find the “Add features” option
  4. Under the “Add features” window, you should see the Quality Windows Audio Video Experience, where you should click on “Next.”
  5. Click on the “QWAVE” option to confirm the installation
  6. Click the “Install” button.
  7. Once the app has installed completely, restart your computer

Check if Your AntiVirus Program is Causing the Issue

As tends to be the case with lots of PC programs, antivirus programs might be a little overprotective of your computer. You can go into your antivirus program’s quarantine vest to see if any Discord files have been filed away there.

  1. Click on your antivirus protection program (for this case, we will use Windows Defender Security Center)
  2. Click on “Virus and threat protection”
  3. Click on “Threat history” and then “See full threat history” to see if your antivirus software has detected anything recently
  4. Once again, if there are any Discord files in the quarantine, they will have the Discord name attached to them.
  5. If you see a Discord file in the quarantine, you can select the arrow-down button across from the file, where you can click on “Allow” to restore them back to your computer. 

Delete Temporary Data Discord Files

Discord runs temporary data on your computer to help the program run better. Sometimes those files become corrupted and slow down the program. You will find these steps are quite similar to the above process for deleting discord altogether to reinstall.

  1. Make sure Discord is closed in your Task Manager
  2. Right-click on the “Start” button and select the “Run” option in the pop-up menu
  3. In the pop-up open field, type the command “%appdata%,” and click “Run”
  4. A window will appear where you can locate the “Discord” folder, right-click, and delete. 
  5. Repeat steps 1-4, except you will type “%Localappdata%” in the open field before clicking “Run”
  6. Relaunch the Discord setup file to reinstall the software

Final Thoughts

It is frustrating when your Discord program produces a Javascript error, but there are plenty of ways to go about fixing it. It might take a little time, but it is sometimes a matter of deleting extra data, ensuring your antivirus program has not caught anything, or sometimes just reinstalling Discord. 

Apps UK
International House
12 Constance Street
London, E16 2DQ