在一个 laravel 项目的全新安装中,我开始在我的项目中安装 VOYAGER,步骤如下:
....
.....
...
Writing lock file
Installing dependencies from lock file (including require-dev)
Package operations: 1 install, 0 updates, 0 removals
- Syncing tcg/voyager (1.x-dev aaee6ab) into cache
- Installing tcg/voyager (1.x-dev aaee6ab): Cloning aaee6abbdd
Install of tcg/voyager failed
Installation failed, reverting ./composer.json and ./composer.lock to their original content.
[Symfony\Component\Process\Exception\ProcessTimedOutException]
The process "git clone --no-checkout "https://github.com/the-control-group/voyager.git" "C:\wamp64\www\badrhb\vendo
r\tcg\voyager" && cd /D "C:\wamp64\www\badrhb\vendor\tcg\voyager" && git remote add composer "https://github.com/th
e-control-group/voyager.git" && git fetch composer && git remote set-url origin "https://github.com/the-control-gro
up/voyager.git" && git remote set-url composer "https://github.com/the-control-group/voyager.git"" exceeded the tim
eout of 300 seconds.
require [--dev] [--dry-run] [--prefer-source] [--prefer-dist] [--fixed] [--no-suggest] [--no-progress] [--no-update] [--no-install] [--no-scripts] [--update-no-dev] [-w|--update-with-dependencies] [-W|--update-with-all-dependencies] [--with-dependencies] [--with-all-dependencies] [--ignore-platform-req IGNORE-PLATFORM-REQ] [--ignore-platform-reqs] [--prefer-stable] [--prefer-lowest] [--sort-packages] [-o|--optimize-autoloader] [-a|--classmap-authoritative] [--apcu-autoloader] [--apcu-autoloader-prefix APCU-AUTOLOADER-PREFIX] [--] [<packages>]...
有些回答说我在你的系统路径上没有 git 命令。 那么有什么解决办法呢?