PHPStorm - ошибка Failed to clone https://github.com/laravel/laravel.git, git was not found, check that it is installed and in your PATH env

Материал из Wiki - Iphoster - the best ever hosting and support. 2005 - 2024
Перейти к:навигация, поиск

PHPStorm - ошибка Failed to clone https://github.com/laravel/laravel.git, git was not found, check that it is installed and in your PATH env

При попытке создать composer проект на Lavarel - можно получить ошибку:

Failed to clone https://github.com/laravel/laravel.git, git was not found, check that it is installed and in your PATH env.                  'git' is not recognized as an internal or external command, operable program or batch file.                                       

означает, что в системе не установлен GIT
Скачать для Windows 10 можно по ссылке https://git-scm.com/download/win
Делаем установку на Windows. После этого нужно прописать правильный PATH к Git в

PHPStorm --> File --> Settings --> Version Control --> Git --> Path to Git Executable: --> указываем путь куда установился GIT и нажимаем ОК.


Phpstorm-git.exe-1.png