Closed bzqadmin closed 2 months ago
No steps to reproduce.
i just had this error when installing new laravel project
It seems that you are using an unofficial packagelist source that hasn't synchronized the latest 1.3.0 tags yet. You can try replacing your packagelist source with the default official source (url: https://repo.packagist.org/).
i meet the same problems: laravel/framework[v11.9.0, ..., v11.9.2] require fruitcake/php-cors ^1.3 -> found fruitcake/php-cors[dev-feat-setOptions, dev-master, dev-main, dev-test-8.2, v0.1.0, v0.1.1, v0.1.2, v1.0-alpha1, ..., 1.2.x-dev (alias of dev-master)] but it does not match the constraint
solutions:
just change the packagelist to the official, maybe your packagelist has been changed to others, such as aliyun mirrors, with this command:
composer config -g --unset repos.packagist
and then run composer install again.
Laravel Version
11
PHP Version
8.2.13
Database Driver & Version
No response
Description
when I create a new project of laravel11(composer or laravel new),I get these error messages :` Problem 1
Steps To Reproduce
` Problem 1