Forum Discussion
ed_hickey
Jan 17, 2021Copper Contributor
A Javascript error occurred in the main process ... (on MAC)
Successfully download and install Teams; however it immediately goes to a single error window that says: Clicking on OK, may make exception go away other times it simply does nothing. I do...
mdeyo
Feb 01, 2023Copper Contributor
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.
Nitish_Ranjan
May 31, 2023Copper Contributor
Thanks a lot. It did work. Could not find this solution anywhere else. mdeyo