Situatie
Running into a JavaScript error on Discord makes you unable to use the app. Luckily, you have a few ways to fix the problem and get the app running as smoothly as possible.
Solutie
Pasi de urmat
Run Discord as an Admin
One reason you get the above error is that Discord doesn’t have full permission to function. You can fix that by running the app with administrator rights on your Windows PC.
- Find Discord on your desktop or in the Start Menu.
- Right-click the app, and from the open menu, select “Run as Administrator.”
- In the User Account Control prompt, select “Yes.”
If this method fixes the issue, make Windows always launch Discord as an admin.
- Do that by first right-clicking Discord’s desktop shortcut and choosing “Properties.”
- Open the “Shortcut” tab and choose “Advanced.”
- Enable the “Run as Administrator” option and select “OK.”
- Select “Apply,” choose “Continue” in the prompt, and select “OK.”
From now on, whenever you launch Discord using your desktop shortcut, it’ll run with admin rights.
Delete Discord’s AppData Files
- Open the Run dialog box by pressing Windows+R. Type the following in the box and press Enter:
- %appdata%
- Open the “Discord” folder and select all files by pressing Ctrl+A. Right-click a selected file and choose “Delete”.
- Open Run again (by pressing Windows+R), type the following path, and press Enter:
- %localappdata%
- Open the “Discord” folder, select all files using Ctrl+A, right-click a file, and choose “Delete”.
Launch the Discord site, download the installer, and run the installer to reinstall fresh copies of the required files on your PC.
Turn Off Your Antivirus Program
If you’re using Microsoft Defender Antivirus:
- Turn it off by first opening the Windows Security app.
- Click “Virus & Threat Protection” and choose “Manage Settings” in the “Virus & Threat Protection Settings” section.
- Then, turn off “Real-Time Protection” and choose “Yes” in the prompt.
Leave A Comment?