symfony/translationsの更新に失敗したため、私のLumenプロジェクトを作曲者にアップデートする際に問題があります。私のローカルの私はcomposer update
それはちょうど良い更新します。私がLAMPサーバーで更新しようとすると、gitリポジトリではないというエラーが表示されます。その後、再インストールを求められます。私はyes
を選択し、古いものを削除しますが、新しいものをインストールすることはできません。作者からsymfony/translationsを更新できません
$ 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プロジェクトです。したがって、依存関係はルーメンからのものです。
誰かが問題の原因を考えている人はいますか? ありがとう!