A Javascript error occurred in the main process ... (on MAC)

Copper Contributor

Successfully download and install Teams; however it immediately goes to a single error window that says:

 

ed_hickey_0-1610925932167.png

Clicking on OK, may make exception go away other times it simply does nothing.  I do have O365 installed.

6 Replies

@ed_hickey 

 

Apologies for bringing up an old thread, but I wanted to post what fixed the issue for me. I had this problem in February of 2023 and this was the first link in my search.

 

If you have admin access to your Mac, run the following commands using your terminal:

 

sudo mkdir -p /Users/$USER/Library/Application\ Support/Microsoft/Teams
sudo chmod g+w /Users/$USER/Library/Application\ Support/Microsoft/Teams

 

The first command will create the missing folder, which fixes the Javascript error. If you try to open Teams at this point, it will immediately crash. The second command gives the group access to write to that folder, which fixed the immediate crash and allowed me to use teams.

 

Hope this helps someone.

 

 

OMG! I was trying to find a solution everywhere and nothing worked but this does!!! Thanks so much!!!

Thanks so much. I can't believe a simple two commands solution not be posted by Microsoft team. I've search a lot before find it here. @mdeyo 

Thanks a lot. It did work. Could not find this solution anywhere else. @mdeyo 

 

@mdeyo Excellent, this Worked for me.