簡體   English   中英

嘗試安裝 Laravel 發條,但我有一個錯誤,即安裝 itsgoingd/clockwork 失敗

[英]tryin to install laravel clockwork but i have an error which is Install of itsgoingd/clockwork failed

laravel 8 中,我試圖安裝 laravel 發條,我有php 版本 8.0.3當我運行時

composer require itsgoingd/clockwork 

命令我收到此錯誤

安裝 itsgoingd/clockwork (v5.0.8): 解壓存檔 安裝 itsgoingd/clockwork 失敗

安裝失敗,將 ./composer.json 和 ./composer.lock 恢復為原始內容。

[UnexpectedValueException] 'C:\\xampp\\htdocs\\test/vendor/composer/tmp-454cb94cbea8cdcf70c06a4e0164fbba' 不是 zip 存檔。

要求 [--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-依賴關系] [--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 -字首] [ - ] []...

刪除文件Composer.lock ,然后運行此命令行:

composer require itsgoingd/clockwork

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM