Forum Discussion
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 have O365 installed.
6 Replies
- mdeyoCopper 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.
- Wellin_SantanaCopper Contributor
mdeyo Excellent, this Worked for me.
- Nitish_RanjanCopper Contributor
Thanks a lot. It did work. Could not find this solution anywhere else. mdeyo
- Hi! Check this thread and see if it helps: https://answers.microsoft.com/en-us/education_ms/forum/all/microsoft-team-on-mac-error/4e13bdf0-41fd-4d80-9149-a2b3d7664c82 Adam