Search This Blog

Friday, March 29, 2019

Solved : error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun


Recently while installing mongodb on MAC, It was suggested to install mongo shell from mongodb website using following command :

brew install mongodb/brew/mongodb-community-shell 

but when I was running above command in terminal then following error was encountered :


xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun
Error: An exception occurred within a child process:


Further after some investigation found a solution as below :

Run following command to install xcode developer tool


xcode-select --install


After successful installation os software, run the brew command again, it solved the issue.

Cheers,
Kapil

No comments:

Post a Comment

Thanks for your comment, will revert as soon as we read it.

Popular Posts