작곡가를 사용하여 2.1.4에서 2.1.7로 Symfony 2 프로젝트를 업데이트하려고하는데 보통의 종속성을 업데이트 한 후에 php composer.phar update
을 실행하면 다음 오류가 발생합니다.작곡가를 통해 업데이트 할 때 git 저장소 오류가 아님
[RuntimeException]
Failed to clone http://github.com/fabpot/Twig-extensions via git, https
and http protocols, aborting.
- git://github.com/fabpot/Twig-extensions
fatal: Not a git repository (or any of the parent directories): .git
- https://github.com/fabpot/Twig-extensions
fatal: Not a git repository (or any of the parent directories): .git
- http://github.com/fabpot/Twig-extensions
fatal: Not a git repository (or any of the parent directories): .git
URL을 확인한 결과 동일한 CLI에서 아무런 문제없이 URL이 존재 함을 확인 했으므로 git clone
수 있습니다.
만약 내가 php composer.phar update twig/extensions
을 별도로 실행하면 문제가없는 것 같습니다.
완벽하게 작동했습니다. 고맙습니다. –