How to Fix Slack a Javascript Error Occurred in the Main Process

Recently, there are some Mac error reports about a javascript error occurred in the main process. It happens when people are trying to use version 4.10 of the Slack App. Now, it seems that the error only happens when you are using the App Store version of Slack.

The Method to Fix Slack A Javascript Error Occurred in the Main Process

If you find this error on your Mac when you are trying to use the Slack app, you are able to fix it by following the steps below.

The Method to Fix Slack A Javascript Error Occurred in the Main Process

  • First, you have to use the AppCleaner application to find and delete all data which are related to the Slack app. If you do not know what files that you need to delete, here they are.

o   com.tinyspeak.slackmacgap

o   com.tinyspeak.slackmacgap.bom

o   Slack.app

o   com.tinyspeak.slackmacgap

o   com.tinyspeak.slackmacgap.plist

  • Now, you have to delete or uninstall Slack from your Mac.
  • In this step, you have to download Slack from the App Store and then install it.
  • If you try to run the Slack, you will be logged out. Then, the thing that you have to do is to log in with your username and password. Now, your previous Slack settings will have been removed but you should now be able to use the app without any issues.

What Is Slack Javascript Error Occurred in The Main Process?

You may wonder what a javascript error occurred in the main process is. Well, it is a macOS problem where the Slack app will not begin and will instead give an error message. It seems that the javascript error occurred in the main process error only happens with the 4.10 App Store version of the Slack application.

There are some reports that some users have faced this issue and then they tried to come up with a workaround report that downloading Slack from its official site can fix the issue. So, you are able to bypass the error message and you are able to use the app normally again. If we look at this issue, it seems that the macOS version is not relevant with regard to the javascript error occurred in the main process issue. The users of Mac with both macOS Mojave and macOS Catalina have reported that they faced this error, so it seems that upgrading or updating your macOS will not do much to be able to fix the Slack problem. The only consistent thing of the reported cases of this error is that the version of the Slack app version 4.10 which is downloaded from the Apple’s App Store.

There are some people who have tried to reinstall the same App Store version to no anvail. However, they find that the error keeps happening. It is because installing Slack does not get rid of the user-specific data for the app which is what seems to be at the root of the issue as quoted from Mac Research site.

Steps to Fix the A Javascript Error Occurred in the Main Process Error in Discord

This error also can happen when you start up Discord on your PC. If you find this error in your Discord, then you have to fix it and there are some methods for fixing it as you are able to see below.

Deleting Discord Folder in %AppData% and %LocalAppData%

  • First, you have to navigate to the location below on your PC  and you are able to do that by opening the Windows Explorer and clicking on This PC:

C:\Users\YOURUSERNAME\AppData\Discord

  • If you do not find the AppData folder, you are able to turn on the option that permits you to be able to view hidden files and folders. You have to click on the View tab on the File Explorer’s menu and then you have to click on the Hidden Items checkbox in the Show/Hide section. Then, File Explorer will show the hidden files and will remember this option until you change it again.
  • Now, you have to delete the Discord folder in the AppData folder. And if you get a message which says that some files could not have been deleted because they were in use, you are able to try exiting Spotify and ending its process in Task Manager.
  • Then, you have to click the Start button or the search button beside it and then you have to type Run or you are able to use the Windows Key + R key combination to be able to bring up the Run dialog box. There, you have to type this: %localappdata% and then you have to click on Enter.

localappdata

  • In this step, you have to find the Discord folder in the folder which opens and then you have to right click on it and select the Delete.
  • You have to make sure that the folder is deleted completely and that there are no more remaining files in it. You are able to check whether the Discord error still comes up after you restart your PC.

Running Discord Without Administrator Privileges

Some people say that the app actually can work when they are not logged in using their administrator account. If you want to apply this method, you are able to follow the steps below.

  • The first thing that you have to do is to find the Discord executable and then you have to change its properties by right clicking its entry on the Desktop, the Start menu or the Search results window and then you have to select Properties. You have to navigate to the Compatibility tab in the Properties window and then you have to uncheck the box beside the Run This Program As An Administrator option before you apply the changes.
  • Here, you have to make sure that you confirm any dialogs which may come up for you to confirm your changes. Then, Discord should launch without admin privileges from now. You are able to open it by double clicking its icon and then you are able to try to see whether the error still comes up. So, give it a try!

Leave a Reply

Your email address will not be published. Required fields are marked *