
Discord has become a popular option for friendly chit-chat among gamers and browsers. However, this platform is not only limited to gaming and other associated aspects. You can use this application for universal chatting processes, such as text, voice, and video calling. But, you might come across the Discord Error: Cannot Find Module.
This generally occurs when you try launching the application, and the Discord Error Cannot Find Module warning might pop up. Additionally, you can face the same JavaScript issue when connecting to your gaming community or any particular user.
Mostly, the corrupt settings of the Discord application can trigger an error message. On the other hand, the installation mismatch and the lack of admin privileges can also cause the Discord error cannot find module instances.
Let’s check out how you can end this specific Discord issue.
Run Discord with Administrator Privilege
Users have complained that Discord might malfunction if you don’t use the admin account. To keep hassles at bay, try this simplest workaround first. Ensure that you launch the Discord app on the administrator privilege account.
Go through the following instructions and check if it works to eliminate the Discord Error: Cannot Find Module issue.
- Find the Discord shortcut or icon on your PC’s desktop screen.
- Right-click on the Discord icon.
- Select the Properties option from the pop-up menu.
- Go to the Compatibility tab of the Properties window.
- Locate the option that says, ‘Run this program as an administrator’.
- Uncheck the box next to the above-mentioned option.
- Next, click the Apply button followed by the Confirm option.
Now, the Discord application should run with admin privileges and check if the same error message appears or not.
Erase Discord’s AppData Content
Users have confirmed that you might overcome the Discord Error Cannot Find Module issue with this trick. Deleting the AppData for Discord will erase temporary and configuration files.
Additionally, it will reset all its settings and help resolve the settings dispute of the Discord. Check out the following guidelines for deleting the AppData folder:
- Launch the File Explorer or This PC on your Windows computer.
- Move your cursor to the View tab and make everything visible by checking the box for Hidden items.
- Next, you must go to the following location in File Explorer: C:\Users\username\AppData\Discord.
- Select the Discord folder and delete it.
Alternative Method
There’s another way to locate the Discord AppData folder and delete the folder. Here’s what you have to abide by:
- Bring up a Run dialog box with the help of the Windows+R shortcut.
- Now, type in ‘%localappdata%’ and click the OK button.
- Find the Discord folder under the Local AppData folder.
- Right-click the Discord folder and select the Delete option from the pop-up menu.
After you have deleted the AppData folder for Discord, restart your device. Launch the Discord app and check if it has fixed the Discord error cannot find the module problem.
Kill every Discord Task
Parallel processing of the Discord application might trigger the same error. That’s why you have to make sure that you should end every process related to the Discord application.
One of the most reliable methods is to go to the Task Manager and kill processes one by one. Check out the following instructions:
- Launch a Run dialog box with the Windows+R shortcut on the keyboard.
- Go to the Open box of the Run window and type in ‘taskmgr’. Press the Enter key to open the Task Manager window.
- Now, you have to locate every single Discord process and click them.
- Every time you click on a single Discord process, you need to opt for the End Process button at the window’s bottom-right corner.
After that, open up the Discord application and check if the issue persists. If you find it frustrating, you can open a Command Prompt window. And, you can kill all the Discord processes at once through commands.
- Go to the Search icon on your PC and look for Command Prompt.
- Once it appears in the results, you can right-click on Command Prompt.
- Select the option that says, ‘Run as administrator’.
- You must type in the following command: taskkill /f /im discord.exe.
- Then, press the Enter key.
Afterwards, you have to open the Discord app and notice whether the Discord Error Cannot Find Module problem vanishes.
Uninstall and Install the Discord App Again
If you are still dealing with the Discord JavaScript error, there might be glitches within the app installation. Reinstalling the app can bring real differences, and you will be able to run it without any bugs.
Follow the instructions below to uninstall and reinstall the Discord app:
- Enter the user account that has admin privileges on your Windows computer.
- Click the Search icon and type ‘Control Panel’ in the search bar.
- Open the Control Panel and click the View As menu from the top of the window. Set it to Category for a reliable view.
- Next, opt for the ‘Uninstall a Program’ from the Programs section.
- Find out the Discord app in the list of installed applications.
- Click the Uninstall button next to the application.
- Go for the option that says, ‘Completely remove Discord on your computer’. And, click the Yes button followed by the Finish option.
This will successfully remove the Discord app from your computer. Next, you have to visit the official website of Discord and download the compatible version of Discord.
General Workaround for Any JavaScript Error on Discord
If the Discord Error Cannot find Module problem still exists, then you can try this hack. Explore a Run utility with the Win+R shortcut. Type ‘msc’ in it and press Enter. The services window will appear, and right-click on the ‘Quality Windows Audio Video Experience’ service. Choose Properties and go to the Stop option. Restart the service by hitting the Start option.
Additionally, set its Startup Type to Automatic and save changes by clicking the Confirm option. Hopefully, this will resolve Javascript issues, such as Discord Error: Cannot Find Module instance.