If the acid test steps above still does not pass then.sudo rm -rf /Library/Developer/CommandLineTools # Enter root password.sudo rm -rf $(xcode-select -print-path) # Enter root password.I did all that and the acid test still does not pass :-( As of MacOS 10.15.5, that's Command_Line_Tools_for_Xcode_11.5.dmg Download the appropriate version of the "Command Line Tools for Xcode" for your version of Catalina from.Installing node-gyp using the Xcode Command Line Tools via manual download Is the path different this time? Repeat the acid test. xcode-select -print-path # Should return /Library/Developer/CommandLineTools.If Xcode or Tools upgrades are listed, use "Software Update" to install them.Wait until the install process is complete. If the installation command returns xcode-select: error: command line tools are already installed, use "Software Update" to install updates, continue to remove and reinstall.If the acid test has not succeeded, then try xcode-select -install.Installing node-gyp using the Xcode Command Line Tools via xcode-select -install sudo xcode-select -reset # Enter root password.Try the acid test steps above to see if your Mac is ready.xcode-select -print-path # Should return /Applications/Xcode.app/Contents/Developer.xcode-select -version # Should return xcode-select version 2370 or later.If Xcode or Tools upgrades are listed, use "Software Upgrade" to install them.softwareupdate -l # No listing is a good sign.sudo xcodebuild -license accept # If you agree with the licensing terms.Once all installations are complete, quit out of Xcode.Allow Xcode app to do an essential install of the most recent compiler tools.Under Preferences > Locations select the tools if their location is empty.If not, then install/upgrade Xcode from the App Store app.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |