Issue
When installing dependencies via "composer install", I'm getting error:
Installing doctrine/lexer (dev-master bc0e1f0) Cloning bc0e1f0cc285127a38c6c8ea88bc5dba2fd53e94 [RuntimeException] Failed to clone http://github.com/doctrine/lexer.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.
I'm not sure what to do... I don't need git. Thanks!
Solution
Using --prefer-dist worked:
composer install --prefer-dist
to force dist part, which @ivoba mentioned; it seems default switch which uses git is --prefer-source.
Answered By - my2c
No comments:
Post a Comment
Note: Only a member of this blog may post a comment.