

Uninstall Teams (or at least the files the app managed to install before the JavaScript error popped up).Change Sharing and Permissions For Microsoft FolderĪlternatively, you can change all the sharing and permission settings for the Microsoft folder to Read & Write for all users. Empty your bin, restart your Mac and try to install Teams again.īy the way, if the Microsoft folder is invisible, type AppleShowAllFiles true in the Terminal.Delete the ~/Library/Application Support/Microsoft folder as well.Rm -rf ~/Library/Application Support/Microsoft/Teams. Exit the Teams installation window and launch Terminal.If Teams is not the first Microsoft program you installed on your computer, then there should be a Microsoft folder under ~/Library/Application Support. To do that, run this command in Terminal: sudo chown YourUserName ~/Library/Application Support/Microsoft. If the error persists, set the permissions to your username for the entire Microsoft folder. Check if you can install Teams on your Mac now.



So, make sure you’re using an admin account when installing MS Teams on macOS. While you can install Teams on Windows 10 computers without administrative rights, you can’t do that on Mac. In order to install Microsoft Teams on Mac, you need admin rights. How to Fix Microsoft Teams JavaScript Error on Macbook Make Sure You Have Admin Rights Change Sharing and Permissions For Microsoft Folder.How to Fix Microsoft Teams JavaScript Error on Macbook.
