Solucionado (ver solução)
Solucionado
(ver solução)
1
resposta

Estou tendo problemas ao baixa o arquivo do github e utilizar o "composer update" e o "composer install"

Quando rodo o Composer update recebo esta mensagem:

C:\Users\Paulo\Documents\A1_Programação\A2_PHP_Alura\3 Avancado\5 MVC\Modulo 6 WebServices>composer update 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 nyholm/psr7-server ^0.3.0 -> satisfiable by nyholm/psr7-server[0.3.0].
- nyholm/psr7-server 0.3.0 requires php ^7.1 -> your php version (8.0.7) does not satisfy that requirement.


// -------------------------------------------------------

Quando rodo o composer install recebo está:
C:\Users\Paulo\Documents\A1_Programação\A2_PHP_Alura\3 Avancado\5 MVC\Modulo 6 WebServices>composer install

Installing dependencies from lock file (including require-dev) Verifying lock file contents can be installed on current platform. Your lock file does not contain a compatible set of packages. Please run composer update.

Problem 1

- doctrine/annotations is locked to version v1.6.1 and an update of this package was not requested.
- doctrine/annotations v1.6.1 requires php ^7.1 -> your php version (8.0.7) does not satisfy that requirement.

Problem 2

- doctrine/cache is locked to version v1.8.0 and an update of this package was not requested.
- doctrine/cache v1.8.0 requires php ~7.1 -> your php version (8.0.7) does not satisfy that requirement.

Problem 3

- doctrine/collections is locked to version v1.6.1 and an update of this package was not requested.
- doctrine/collections v1.6.1 requires php ^7.1.3 -> your php version (8.0.7) does not satisfy that requirement.

Problem 4

- doctrine/common is locked to version v2.10.0 and an update of this package was not requested.
- doctrine/common v2.10.0 requires php ^7.1 -> your php version (8.0.7) does not satisfy that requirement.

Problem 5

- doctrine/dbal is locked to version v2.9.2 and an update of this package was not requested.
- doctrine/dbal v2.9.2 requires php ^7.1 -> your php version (8.0.7) does not satisfy that requirement.

Problem 6

- doctrine/event-manager is locked to version v1.0.0 and an update of this package was not requested.
- doctrine/event-manager v1.0.0 requires php ^7.1 -> your php version (8.0.7) does not satisfy that requirement.

Problem 7

- doctrine/inflector is locked to version v1.3.0 and an update of this package was not requested.
- doctrine/inflector v1.3.0 requires php ^7.1 -> your php version (8.0.7) does not satisfy that requirement.

Problem 8

- doctrine/instantiator is locked to version 1.2.0 and an update of this package was not requested.
- doctrine/instantiator 1.2.0 requires php ^7.1 -> your php version (8.0.7) does not satisfy that requirement.

Problem 9

- doctrine/orm is locked to version v2.6.3 and an update of this package was not requested.
- doctrine/orm v2.6.3 requires php ^7.1 -> your php version (8.0.7) does not satisfy that requirement.

Problem 10

- doctrine/persistence is locked to version 1.1.1 and an update of this package was not requested.
- doctrine/persistence 1.1.1 requires php ^7.1 -> your php version (8.0.7) does not satisfy that requirement.

Problem 11

- doctrine/reflection is locked to version v1.0.0 and an update of this package was not requested.
- doctrine/reflection v1.0.0 requires php ^7.1 -> your php version (8.0.7) does not satisfy that requirement.

Problem 12

- nyholm/psr7 is locked to version 1.1.0 and an update of this package was not requested.
- nyholm/psr7 1.1.0 requires php ^7.1 -> your php version (8.0.7) does not satisfy that requirement.

Problem 13

- nyholm/psr7-server is locked to version 0.3.0 and an update of this package was not requested.
- nyholm/psr7-server 0.3.0 requires php ^7.1 -> your php version (8.0.7) does not satisfy that requirement.

Problem 14

- symfony/console is locked to version v4.2.8 and an update of this package was not requested.
- symfony/console v4.2.8 requires php ^7.1.3 -> your php version (8.0.7) does not satisfy that requirement.

Problem 15

- symfony/contracts is locked to version v1.0.2 and an update of this package was not requested.
- symfony/contracts v1.0.2 requires php ^7.1.3 -> your php version (8.0.7) does not satisfy that requirement.
1 resposta
solução!

Não resolvido