Discord Javascript Error

How To
How To

Many people have experienced the annoying javascript error while installing Discord. Sometimes it is because of its files and sometimes you will face the issue on installing process too. Whatever the reason it is very tiring to see this error again and again.

How To Fix Discord Javascript Error

We are listing some methods here; many people have solved their problems using this method. Follow the methods properly.

How To
How To

Method 1: Delete Discord Files

Discord allows you to work with many servers at a time. For this reason, it saves some files which it needs regularly to run. Many times, these files got some issue in them. This can affect the proper function of discord. Deleting these files can give discord a fresh start.

Let’s see how to do this:

Step 1: At first, use the key CTRL + ALT + DEL” to close Discord.

Step 2: Further, right-click on the start icon.

Step 3: Now, you will see many options in front of you. Search for Run and click on it.

Step 4: Here you will see the Run window. Now, write the instruction “%appdata%” and hit the Enter button.

Step 5: Alright, now search for the Discord folder.

Step 6: Once you find it, press the right mouse button on it and click on the delete option.

Step 7: Let’s move ahead, now, again right-click on the start button and select the Run option.

Step 8: Here type the instruction “%Localappdata%” and hit the Enter button.

Step 9: Further, search for the Discord folder.

Step 10: Now, right-click on it and choose the delete option.

Step 11: Finally, you can reinstall your Discord software and enjoy it.

Method 2: Make Sure Your Antivirus Isn’t Causing You Problems

You will see a Discord Javascript Error if your Antivirus is not allowing some of the Discord files. Antivirus treats those files as a bug or inappropriate stuff. In this case, it won’t allow them to get access to your computer. Using Antivirus bypass, you can solve this issue.

We are taking Avast here as it is free software and the most common one.

Step 1: At first, open the Avast software on your window. You can double-click on the icon to do so.

Step 2: Now, search for the protection tab. Select it.

Step 3: Further choose the option virus chest (or quarantine area). Click on it.

Step 4: Let’s move ahead, the files you are watching in front of you are marked as inappropriate by Avast software.

Step 5: Alright, now search for the file related to Discord. You can simply find it by its name. you will see Discord word in its name.

Step 6: Here, you will see three dots when you hover the cursor on the file. Click on it.

Step 7: Now, choose the option Restore and add the exception.

Step 8: Further, restore all the files related to Discord.

Step 9: Finally Restart the installation process.

To avoid this problem in the future, you need to add Discord files in Avast. Once you do this Avast will treat those as normal files.

Follow these steps to achieve this:

Step 1: Firstly, click on the Menu tab. You will see this on the top bar.

Step 2: Now, choose the option Settings. Click on it.

Step 3: Further under the General tab click the option Exceptions.

Step 4: Alright, now add the Discord folder here. Now, Avast will allow your files to run without any error message.

Step 5: To add your Discord file, click on the Add exception. Now, find the Discord folder and installation file.

Step 6: Finally launch your Discord software again.

Method 3: Reinstall Discord

After installing the Discord if you are still facing the problem, then reinstalling Discord might help you. But before that keep in mind, you have to fully erase all the files related to Discord. This will allow you to clean install.

Follow the steps to do this:

Step 1: At first click on the search icon on the task menu.

Step 2: Further, write “Control panel” in the search bar and hit the Enter button.

Step 3: Here you have to search for the option Programs tab. Also, there you will see an active link with the title uninstall a program. Click on it.

Step 4: Further from the list, search the option Discord. Now click on it and click on uninstall.

Step 5: Let’s move ahead, Right-click on the start menu, and then select the option Run.

Step 6: Here type the instruction “%appdata%” and hit the run button.

Step 7: Now, search for the Discord folder. Now, delete it.

Step 8: Again, open the Run window.

Step 9: Here type the instruction “%Localappdata”. Now, delete the Discord folder.

Step 10: Great! You have successfully uninstalled Discord.

Step 11: Finally, you can download Discord again. Download it and install it. We hope it will run fine.


You will face this error while installing the Discord software. Even though it is very disturbing you can easily fix the issue using these methods.Follow every step properly so that you can get rid of the “Discord Javascript Error” easily.


Please enter your comment!
Please enter your name here