Microsoft Teams - Installer for Mac Error

Anonymous
2017-04-03T14:01:51+00:00

Trying to install the Microsoft Teams application on Mac OSX 10.12.3 and I receive an error "A JavaScript error occured in the main process" The only option is to click OK.

I've removed the app, cleared the trash, rebooted, re-downloaded and tried this multiple times but I receive the same error message each time.

Microsoft 365 and Office | Install, redeem, activate | For home | Other

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments
{count} votes
Answer accepted by question author
  1. Anonymous
    2017-05-26T07:44:08+00:00

    Issue is that the "/Users/jay/Library/Application Support/Microsoft" directory is owned by "root", which is why the 'Teams' folder can not been created when you start the application and it tries to create the directory using your login id (the id you've logged in your Mac).

    You can check this by doing a "ls -lat" of the "/Users/jay/Library/Application Support" directory:

      drwxr-xr-x   3 root    staff   102 May 14 19:43 Microsoft

    The solution is to change the ownership of the Microsoft directory to your login id, which is listed in the path after "/Users/", in your case "jay".

    Steps: 

    Open Terminal app and at the command prompt type the following commands ("jay:" and "root#:"  are the ends of the command prompt, you don't type them!) substituting "jay" in all paths below with your login id:

      jay: cd Library/Application\ Support

      jay: sudo su -

      Password: (type the password for "jay" here)

      root# cd /Users/jay/Library/Application\ Support

      root# chown jay Microsoft

      root# ls -lat | grep Microsoft

      drwxr-xr-x   4 jay  staff   136 May 26 17:23 Microsoft

    The last output above shows the Microsoft directory is now owned by "jay".

    Close Terminal app and start Teams.

    110 people found this answer helpful.
    0 comments No comments

5 additional answers

Sort by: Most helpful
  1. Anonymous
    2017-04-03T19:45:09+00:00

    Hi JayB-Au,

    Where do you download the Microsoft Teams app? Please click the below and choose Mac to download the .dmg file to install Microsoft Teams on your Mac:

    https://teams.microsoft.com/downloads

    I have just downloaded it from the link above and installed successfully on our Mac machine with the same OSX version Sierra 10.12.3. If you download Teams from the correct link, to look into the issue, we want to see the screenshot of the error you have received.

    Thanks,

    Lance

    0 comments No comments
  2. Anonymous
    2017-04-04T00:19:36+00:00

    Hi Lance,

    Yes that's the site that I've been downloading the application from. I'll take a screenshot later today when I have access to the Mac and upload it. Thanks for the follow up.

    Jay

    1 person found this answer helpful.
    0 comments No comments
  3. Anonymous
    2017-04-04T10:31:41+00:00

    Evening Lance,

    I re-downloaded the file from your link, just in case, but unfortunately I still received the same error.

    Uncaught Exception:

    Error: EACCES: permission denied, mkdir '/Users/jay/Library/Application Support/Microsoft/Teams'

        at Error (native)

        at Object.fs.mkdirSync (fs.js:922:18)

        at Object.getUserDataPath (/Applications/Microsoft Teams.app/Contents/Resources/app.asar/lib/common/utility.js:58:12)

        at new FileLogger (/Applications/Microsoft Teams.app/Contents/Resources/app.asar/lib/fileLogger.js:10:37)

        at new LoggingService (/Applications/Microsoft Teams.app/Contents/Resources/app.asar/lib/loggingService.js:31:28)

        at Object.getInstance (/Applications/Microsoft Teams.app/Contents/Resources/app.asar/lib/loggingService.js:23:26)

        at bootstrap (/Applications/Microsoft Teams.app/Contents/Resources/app.asar/lib/main.js:20:43)

        at Object.<anonymous> (/Applications/Microsoft Teams.app/Contents/Resources/app.asar/lib/main.js:14:1)

        at Module._compile (module.js:541:32)

        at Object.Module._extensions..js (module.js:550:10)

    On further examination this evening I noted the first error line. I have just navigated to the folder location and found that the 'Teams' folder had not been created. I have just manually added that folder in the correct location and now the Teams application opens up!

    24 people found this answer helpful.
    0 comments No comments
  4. Anonymous
    2017-04-04T16:32:59+00:00

    Hi Jay,

    Glad to hear that the Teams app opens successfully and thanks for your sharing. Our community members will benefit a lot from the solution you provided. 

    Thanks,

    Lance

    0 comments No comments