The Mac upgraded the system and found Git broke in idea…
Complete error message
С annot Run Git
xcrun: error: invalid active developer path (/ Library/developer/CommandLineTools), missing xcrun at:/Library/developer/CommandLineTools/usr/bin/xcrun
to see if Git can be used properly on the command line -help still registers the same error as above
In the search under git installation directory
Whereis the git
/usr/bin/git
The git installation location can be printed correctly
If there is a problem with the Git installation, brew Install Git is used again
Error: The following formula:
git
cannot be installed as a binary package and must be built from source.
Install The Command Line Tools:
xcode-select — Install
Error: Git must be installed and in your PATH!
Error: The following formula:
git
cannot be installed as a binary package and must be built from source.
Install The Command Line Tools:
xcode-select — Install
This error prompts xcode-select –install
Then use Xcode-select-install to solve the installation successfully
The console sees the successful output using the git –help command
Solution: use Xcode-select-install to complete the installation and restart idea
Complete error message
С annot Run Git
xcrun: error: invalid active developer path (/ Library/developer/CommandLineTools), missing xcrun at:/Library/developer/CommandLineTools/usr/bin/xcrun
to see if Git can be used properly on the command line -help still registers the same error as above
In the search under git installation directory
Whereis the git
/usr/bin/git
The git installation location can be printed correctly
If there is a problem with the Git installation, brew Install Git is used again
Error: The following formula:
git
cannot be installed as a binary package and must be built from source.
Install The Command Line Tools:
xcode-select — Install
Error: Git must be installed and in your PATH!
Error: The following formula:
git
cannot be installed as a binary package and must be built from source.
Install The Command Line Tools:
xcode-select — Install
This error prompts xcode-select –install
Then use Xcode-select-install to solve the installation successfully
The console sees the successful output using the git –help command
Solution: use Xcode-select-install to complete the installation and restart idea
Read More:
- [Solved] Mac git clone error:xcrun:error:invalid active developer path(/Library/Developer/CommandLineTools)
- MacOS Catalina (system): xcrun: error: invalid active developer path(), missing xcrun at / Library
- Install homebrew xcode-select error invalid developer directory ‘/Library/Developer/CommandLineTools’
- Unable to find utility “instruments”, not a developer tool or in PATH
- Git bash run error, GIT 32 bit
- Cannot run program “git.exe”: CreateProcess error=2 the correct solution
- Flutter Error: Cannot run with sound null safety, because the following dependencies don‘t support
- Idea always reports errors when using “SVN” to associate projects Error:Cannot run Program “SVN” (in directory “path XXXXXX”): CreateProcess error = 2,
- Fatal: unable to create ‘project_ path/.git/ index.lock ‘: File exists.
- [error log] 27.1.0 series of errors Error:Failed to resolve: com.android.support :support-an notations:27.1.0
- Git error prompt: fatal: not a git repository (or any of the parent directories):. Git
- git@gitlab invalid privatekey
- Go run error go run: cannot run non main package
- After introducing sass into Vue project, start to report error typeerror [err]_ INVALID_ ARG_ Type]: the “path” argument must be of type string
- sys.path.append(), os.path.exists(), os.path.join() and os.makedirs() meaning
- How to open an app from an unidentified developer
- Use mujoco = = 0.5.7 to run the code and report error: invalid activation key
- A series of errors encountered in connecting to the database using Oracle SQL developer
- HTML echo error, NPM run build error, HTML path error
- Win10 installation git click git bash flash back problem solution