• Register
Log In
0 votes

Problem :

 “A JavaScript error occurred in the main process” error usually appears when I starting up Discord on my computer
6.9k points

1 Answer

0 votes

Solution :

I was able to ressolve the issue by Reinstalling Discord

Reinstalling Discord is the most important method as this solution has worked for many people who struggled with this problem before. This solution is generic and it is important to follow each and every step correctly if you want to reset your Discord installation and make it work properly again.

Make sure you are logged in with an administrator account as you will not be able to delete programs using any other account.

a. Click on the Start menu and open Control Panel by searching for it. 

b. In Control Panel click on Uninstall a Program under the Programs section.

c. If you are using the Settings app, clicking on Apps should immediately open a list of all installed programs on your PC.

d. Locate Discord in Control Panel or Settings and click on Uninstall.

e. Click Finish when the uninstalling process finishes.

f. After uninstalling the tool properly now it is time to reinstall the Discord tool by downloading the latest installer from their website and running it from the Downloads folder. The Javascript error should not appear anymore.

Further Readings:

36.1k points

Related questions

0 votes
1 answer 1.3K views
Problem : I am trying to execute bootstrap jquery code but getting below error uncaught error: bootstrap's javascript requires jquery at bootstrap.min.js:6
asked Oct 22, 2019 peterlaw 6.9k points
0 votes
2 answers 130 views
Problem : I often face below error after making the trivial React example page: &ldquo;Uncaught Error: Invariant Violation: _registerComponent(...): Target container is not a DOM element.&rdquo; Below is my code: /** The @jsx React.DOM */ 'use strict'; var MyReact = require('react'); ... > <head>  <script src="/mybundle.js"></script> </head> <body> </body> </html> What does the above error mean?
asked Jan 7 alecxe 7.5k points
0 votes
1 answer 40 views
Problem : I am using two different third party programs those apparently use the Google Maps Javascript API. When they load the map, the world map is shown, but an Error message is displayed as below: you are using a browser that is not supported by the google maps javascript api
asked Oct 19, 2019 peterlaw 6.9k points
1 vote
1 answer 10 views
Problem: I have recently started learning the AngularJS. I have gained the fundamental knowledge in AngularJs with the help of online tutorials so I was just experimenting I started facing below error: Uncaught Error: [$injector:modulerr] Failed to instantiate module. Please find below my ... </div>         </div>     </body> </html> Kindly help me in fixing my above error related to AngularJs.
asked Jun 12 Martin K 6.6k points
1 vote
1 answer 10 views
Problem: Hello good souls, var myarr1 = [1, 2, 3, 4, 5]; var myarr2 = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10]; I have two simple arrays like above. I want to sort out the common values between those two arrays. So can you find common elements in two arrays javascript for me? Please keep the program as simple as possible that I can understand easily. Thanks for your effort and valuable time buddy.
asked Apr 6 Gavin 15k points