1
심포니/번역을 업데이트하지 못해 루멘 프로젝트를 작곡가로 업데이트하는 데 문제가 있습니다. 내 로컬에 내가 composer update
때 업데이 트가 잘. LAMP 서버를 업데이트하려고 할 때 git 저장소가 아니라는 오류가 발생합니다. 그런 다음 다시 설치하라는 메시지가 표시됩니다. yes
을 선택하면 이전 버전은 제거되지만 새 버전은 설치할 수 없습니다.작곡가에서 symfony/번역을 업데이트 할 수 없습니다.
$ composer update
Loading composer repositories with package information
Updating dependencies (including require-dev)
Package operations: 0 installs, 2 updates, 0 removals
- Updating symfony/translation (v3.1.8 => v3.1.10) Update failed (Failed to execute git show-ref --head -d
fatal: Not a git repository (or any of the parent directories): .git
)
Would you like to try reinstalling the package instead [yes]? yes
- Removing symfony/translation (v3.1.8)
[RuntimeException]
Failed to execute git show-ref --head -d
fatal: Not a git repository (or any of the parent directories): .git
update [--prefer-source] [--prefer-dist] [--dry-run] [--dev] [--no-dev] [--lock] [--no-custom-installers] [--no-autoloader] [--no-scripts] [--no-progress] [--no-suggest] [--with-dependencies] [-v|vv|vvv|--verbose] [-o|--optimize-autoloader] [-a|--classmap-authoritative] [--apcu-autoloader] [--ignore-platform-reqs] [--prefer-stable] [--prefer-lowest] [-i|--interactive] [--root-reqs] [--] [<packages>]...
나는 --prefer-dist
과 같은 결과를 시도했다.
이것은 루멘 5.3 프로젝트이므로 루멘의 의존성입니다.
누구에게 어떤 문제가 있는지 알고 있습니까? 감사합니다.