การติดตั้ง tcg/voyager ล้มเหลว [ซ้ำกัน]

ในการติดตั้งโปรเจ็กต์ laravel ใหม่ ฉันเริ่มติดตั้ง VOYAGER ในโปรเจ็กต์ของฉันตามขั้นตอนต่อไปนี้:

  • ผู้แต่งสร้างโครงการ -- ชอบ -dist laravel/laravel badrhb 6.*
  • ผู้แต่งต้องการ tcg/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 บนเส้นทางระบบของคุณ แล้ววิธีแก้ปัญหาสำหรับสิ่งนี้คืออะไร?


person Fares ars    schedule 16.07.2021    source แหล่งที่มา
comment
ขยายเวลาออกไปน่าจะได้ ดูเอกสารผู้แต่งเกี่ยวกับการจำกัดเวลาหรือการสนับสนุนก่อนหน้าเช่น stackoverflow.com/q/18917768/367456 (มีประโยชน์มากกว่า ข้อเสนอแนะด้วย)   -  person hakre    schedule 16.07.2021
comment
และ composer diagnose เป็นการตรวจสอบตัวเองที่ดีเช่น หากมีคอมไพล์อยู่ ฯลฯ - คุณจะรู้มากขึ้นเกี่ยวกับกล่อง/ระบบ/สภาพแวดล้อมของคุณเองแล้ว   -  person hakre    schedule 16.07.2021
comment
คุณติดตั้งคอมไพล์แล้วหรือยัง?   -  person MrSandyWilly    schedule 16.07.2021
comment
@hakre ใช่แล้ว ปัญหาคือการจำกัดเวลา ดังนั้นฉันจึงเปลี่ยนมันด้วยการส่งออก COMPOSER_PROCESS_TIMEOUT=1600 และแก้ไขปัญหาได้   -  person Fares ars    schedule 17.07.2021