homestead下安裝laravel報錯:Your requirements could not be...

acvc225發表於2022-02-18

安裝homestead成功後,使用命令 vagrant@homestead:~/Code$ composer create-project --prefer-dist laravel/laravel blog 安裝laravel時報錯了,無法正常安裝,錯誤資訊具體如下圖:

homestead下安裝laravel報錯:Your requirements could not be resolved to an installable set of packages.

顯示我的php版本8.0.1不支援,需要8.0.2版本。
安裝的homestead使用的是最新的盒子 lc-homestead-8.2.1-2019112300.zip
這個問題應該如何解決呢? 希望路過的大神給指點一下,感謝!

本作品採用《CC 協議》,轉載必須註明作者和本文連結

相關文章