[PROMOÇÃO] Assine com + 30% de desconto ANUAL MENSAL (últimas horas)
Alan Francisco Leite
Criador Alan Francisco Leite 15/04/2024

Boa noite!Tudo bom?

Da este erro quando rodo composer install:

alan@225b48abafc0:/var/www$ composer install

Composer could not detect the root package (laravel/laravel) version, defaulting to '1.0.0'. See https://getcomposer.org/root-version

No composer.lock file present. Updating dependencies to latest instead of installing from lock file. See https://getcomposer.org/install for more information.

Loading composer repositories with package information

Updating dependencies

Your requirements could not be resolved to an installable set of packages.

 

  Problem 1

    - Root composer.json requires php ^8.2 but your php version (8.1.28) does not satisfy that requirement.

  Problem 2

    - Root composer.json requires phpunit/phpunit ^11.0.1 -> satisfiable by phpunit/phpunit[11.0.1, ..., 11.1.2].

    - phpunit/phpunit[11.0.1, ..., 11.1.2] require php >=8.2 -> your php version (8.1.28) does not satisfy that requirement.

  Problem 3

    - laravel/framework[v11.0.0, ..., v11.3.1] require php ^8.2 -> your php version (8.1.28) does not satisfy that requirement.

    - Root composer.json requires laravel/framework ^11.0 -> satisfiable by laravel/framework[v11.0.0, ..., v11.3.1].

 

alan@225b48abafc0:/var/www$ php -v

PHP 8.1.28 (cli) (built: Apr 12 2024 18:02:52) (NTS)

 

Obrigado!

Manager Carlos Ferreira 15/04/2024

Qual é a versão do seu projeto Laravel?

Carlos Ferreira
Sabe a Solução? Ajude a resolver!

Precisa estar logado para conseguir responder a este ticket!

Clique Aqui Para Entrar!