无法创建 Laravel 8 项目,Laravel 9 发布后出现问题

Can't create Laravel 8 project, problem appeared after release of Laravel 9

我在创建 Laravel 8 项目时遇到问题。在 Laravel 9 发布之前,它工作正常。但是,如果我使用 laravel new example-app 创建项目,它将创建 Laravel 9 个项目。当我使用 composer create-project-prefer-dist laravel/laravel:8.16.1 blog 时出现以下错误。我该怎么做才能解决这个问题?我目前使用 Laravel 8.0 版。请注意,由于声誉原因,我无法上传错误图片。

[InvalidArgumentException] Could not find package laravel/laravel with version 8.16.1.

create-project [-s|--stability STABILITY] [--prefer-source] [--prefer-dist] [--prefer-install PREFER-INSTALL] [--repository REPOSITORY] [--repository-url REPOSITORY-URL] [--add-repository] [--dev] [--no-dev] [--no-custom-installers] [--no-scripts] [--no-progress] [--no-secure-http] [--keep-vcs] [--remove-vcs] [--no-install] [--ignore-platform-req IGNORE-PLATFORM-REQ] [--ignore-platform-reqs] [--ask] [--] [] [] []

Laravel 没有版本 8.16.1。也许你的意思是版本 8.6.11.

您可以使用:

composer create-project --prefer-dist laravel/laravel:8.6.11 blog