A Javascript Error Occurred in the Main Process Discord Cannot Read Property
The "A JavaScript error occurred in the primary process" error usually appears when starting up Discord on your reckoner. The error message window unremarkably contains diverse information regarding the error just it tin inappreciably exist interpreted by casual users.
In that location have been many different methods people used in club to resolve this trouble. The methods are normally simple enough to perform easily without wasting besides much time. Make sure yous follow the instructions carefully and the trouble should disappear in no time.
What Causes the 'A JavaScript Error Occurred in the Main Process' Problem in Discord?
In that location aren't many determined causes for this trouble and most troubleshooting methods you can perform are based on resetting Discord or its settings in 1 style or another. However, we have prepared a brusk list for you to check out:
- Discord or its settings may have gone decadent – In this scenario, it's the Discord installation to arraign and so either reset its settings or reinstall the app.
- The Quality Windows Audio Video Experience service is not running – This service is vital to the app since it'south tightly related to the program's core functionality. Make sure it starts upwards automatically.
- Discord runs with administrator permissions – Running Discord with administrator permissions is known to cause this problem and then brand sure you remove this choice.
Solution one: Delete Discord Folders in %AppData% and %LocalAppData%
Deleting the post-obit folders should reset Discord settings and hopefully resolve the JavaScript error which is preventing you from opening Discord at all. These steps were originally suggested by the Discord website for an entirely different upshot merely users have reported that information technology should resolve this trouble as well.
- Navigate to the post-obit location on your reckoner by opening the Windows Explorer and clicking on This PC:
C:\Users\YOURUSERNAME\AppData\Discord
- If yous are unable to see the AppData binder, you lot may need to turn on the choice that enables you to view hidden files and folders. Click on the "View" tab on File Explorer'south menu and click on the "Subconscious items" checkbox in the Bear witness/hide section. File Explorer volition show the subconscious files and volition remember this selection until you change information technology again.
- Delete the Discord folder in the AppData folder. If you receive a message saying that some files couldn't have been deleted because they were in use, try exiting Spotify and ending its process in Task Manager.
- Either click the Beginning push button or the search push button side by side to it and type "Run" or employ the Windows Key + R key combination in social club to bring up the Run dialog box. Blazon in "%localappdata%" and click Enter.
- Locate the Discord binder in the folder which opens, right-click on it, and choose the Delete
- Make sure that the folders are completely deleted and that there are no more remaining files in information technology. Cheque to see if the Discord error still appears afterwards restarting your calculator!
Solution two: Change the Startup Type of the Quality Windows Audio Video Feel Service
Changing the startup type of the Quality Windows Audio Video Experience service from Manual to Automatic managed to resolve the JavaScript error for many users. They as well reported that the method managed to resolve the JavaScript error for apps other than Discord also! Follow the steps beneath in guild to resolve the problem!
- Open the Run utility by using the Windows Cardinal + R cardinal combination on your keyboard (press these keys at the aforementioned fourth dimension. Type "services. msc" in the newly opened box without the quotation marks and click OK in order to open the Services tool.
- Locate the Quality Windows Audio Video Experience service on the list, right-click on it and select Backdrop from the context carte which appears.
- If the service is started (you tin check that simply next to the Service condition bulletin), you lot should finish it by clicking the Stop button in the eye of the window. Anyway, run it over again by clicking the Start.
- Make certain that the option under the Startup type carte in the service'due south properties window is set to Automatic before you continue with other steps. Confirm whatever dialogue boxes which may appear when changing the startup type.
You may receive the post-obit error message when you click on Outset:
"Windows could not starting time the service on Local Reckoner. Error 1079: The business relationship specified for this service differs from the account specified for other services running in the same process."
If this happens, follow the instructions below to fix it.
- Follow steps 1-three from the instructions above in order to open the service's properties window. Navigate to the Log On tab and click on the Browse… button.
- Nether the "Enter the object name to select" entry box, blazon in your account'due south name, click on Bank check Names and wait for the proper noun to go bachelor.
- Click OK when you are finished and type in the password in the Countersign box when you are prompted with it if yous have prepare up a password. It should now kickoff without bug!
Solution 3: Run Discord without Administrator Privileges
Some users have noticed that the app actually works whenever they are non logged in using their administrator account. This leads us to believe that the actual problem regarding the tool is the administrator permissions.
It's not always the best idea to run random programs as an administrator and various users have reported that running Discord without admin permissions actually resolved the problem for them!
- Locate the Discord executable and change its properties by right-clicking its entry either on the Desktop, the Start menu, or the Search results window and choose Properties. Navigate to the Compatibility tab in the Properties window and uncheck the box adjacent to the Run this program every bit an ambassador option before applying the changes.
- Brand sure you confirm whatever dialogs which may announced for you to confirm your changes and Discord should launch without admin privileges from now on. Open it by double-clicking its icon and endeavour to come across if the error still appears.
Solution iv: Reinstall Discord
Performing a reinstall is one of the most important methods in this commodity every bit this solution has worked for plenty of people who struggled with this problem. This solution is generic just it'due south vital to follow every step correctly if you want to reset your Discord installation and make information technology work properly again.
- First of all, make sure you are logged in with an administrator account as y'all won't be able to delete programs using any other account.
- Click on the Start menu and open Control Panel by searching for it. Alternatively, y'all tin click on the cog icon in social club to open Settings if you are using Windows 10.
- In Control Panel, select to View as: Category at the tiptop right corner and click on Uninstall a Programme under the Programs section.
- If you are using the Settings app, clicking on Apps should immediately open a list of all installed programs on your PC.
- Locate Discord in Command Panel or Settings and click on Uninstall.
- Discord's uninstall magician should open, prompting y'all upward with a selection to "completely remove Discord on your computer". Choose Yes.
- Click Finish when the uninstalling procedure finishes.
If you managed to uninstall the tool properly, information technology'southward time to simply reinstall the Discord tool by downloading the latest installer from their website, running information technology from the Downloads folder, and following the instructions on-screen until the procedure finishes. The Javascript error should non appear anymore.
Solution 5: Closing all Discord Processes
We will effort ending all processes from the job manager and effort installing Discord over again. Discord is known to fail its installation if has parallel processes running beforehand. The only manner to counter this is to finish all Discord processes from Chore Manager.
- Press Windows + R, type "taskmgr" in the dialogue box, and press Enter.
Running the Chore Manager - Once in the job director, search for allDiscordprocesses, click on information technology, and selectTerminate Procedure.
- Now endeavor installing and see if it fixed the problem.
If you can't able to terminate some of the Discord Instances y'all can try this workaround with Command Prompt to get rid of them. Follow these steps:-
- Click on the Windows Search bar and blazon "Command Prompt", right-click on it, and run as administrator.
- Type the following command and press enter:-
taskkill /f /im discord.exe
- Now bank check to come across if the upshot still persists.
Solution 6: Using Discord PTB
Discord PTB is discord's test beta build, yous can download it from the official discord website. It will install and function simply similar Discord should however it have its own data and information technology will not interact with your normal discord. You can download Discord PTB (here).
Source: https://appuals.com/how-to-fix-the-a-javascript-error-occurred-in-the-main-process-error-in-discord/
Enregistrer un commentaire for "A Javascript Error Occurred in the Main Process Discord Cannot Read Property"