I am trying to create laravel project on windows but this problem show to me and
I try update the composer.
the php version is 8.0.6,
the composer version is 2.0.14,
the laravel version is 4.2.5,
Per comments on this Github issue this is a problem with the latest version of the Symfony Console component, which is 5.3.0. Composer is based on this library, but you can downgrade to the previous version 5.2.8 with this command:
2
Answers
Instead of
laravel new your-project-name
you should usecomposer create-project laravel/laravel your-project-name 4.2.*
Per comments on this Github issue this is a problem with the latest version of the Symfony Console component, which is 5.3.0. Composer is based on this library, but you can downgrade to the previous version 5.2.8 with this command:
And then force the update with: