[PROMOÇÃO] Assine com + 30% de desconto ANUAL MENSAL (últimas horas)
Cláudio Mecenas
Criador Cláudio Mecenas 15/06/2023

Professor, tudo certo?

Estou enfrentando um problema ao tentar instalar o Laravel Socialite. Estou usando a imagem do curso Laravel 9, ou seja, com PHP 8. E olha só os problemas relacionados:

---------------------------------------------------------------------------------------

Problem 1

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

  Problem 2

    - laravel/framework is locked to version v9.52.7 and an update of this package was not requested.

    - laravel/framework v9.52.7 requires php ^8.0.2 -> your php version (7.4.3) does not satisfy that requirement.

  Problem 3

    - laravel/sanctum is locked to version v3.2.5 and an update of this package was not requested.

    - laravel/sanctum v3.2.5 requires php ^8.0.2 -> your php version (7.4.3) does not satisfy that requirement.

  Problem 4

    - laravel/breeze is locked to version v1.19.2 and an update of this package was not requested.

    - laravel/breeze v1.19.2 requires php ^8.0.2 -> your php version (7.4.3) does not satisfy that requirement.

  Problem 5

    - laravel/pint is locked to version v1.10.0 and an update of this package was not requested.

    - laravel/pint v1.10.0 requires php ^8.1.0 -> your php version (7.4.3) does not satisfy that requirement.

  Problem 6

    - nunomaduro/collision is locked to version v6.4.0 and an update of this package was not requested.

    - nunomaduro/collision v6.4.0 requires php ^8.0.0 -> your php version (7.4.3) does not satisfy that requirement.

  Problem 7

    - spatie/laravel-ignition is locked to version 1.6.4 and an update of this package was not requested.

    - spatie/laravel-ignition 1.6.4 requires php ^8.0 -> your php version (7.4.3) does not satisfy that requirement.

  Problem 8

    - symfony/deprecation-contracts v3.2.1 requires php >=8.1 -> your php version (7.4.3) dsail laraveloes not satisfy that requirement.

    - fakerphp/faker v1.21.0 requires symfony/deprecation-contracts ^2.2 || ^3.0 -> satisfiable by symfony/deprecation-contracts[v3.2.1].

    - fakerphp/faker is locked to version v1.21.0 and an update of this package was not requested.

------------------------------------------------------------------------------------------------------------------

Não sei pq ele tá achando que tô usando a versão 7 do PHP! :/
Consegue me ajudar? 

Criador Cláudio Mecenas 15/06/2023

Eita. Entendi. Eu tava tentando rodar o compser fora do meu bash da imagem docker. Problema de cabeça cansada kkkkkkkkkkkkk... Sorry mestre!

Cláudio Mecenas
Manager Carlos Ferreira 15/06/2023

Qualquer dúvida, conta comigo amigo. TMJ!

Carlos Ferreira
Criador Cláudio Mecenas 15/06/2023

Obg Mestre. Eu consegui fazer o login com o Google, mas com o Facebook ainda não. Acredito que é porque o Facebook exige uma conexão SSL. Sabe como posso implementar um SSL no meu Localhost? Seria pelo Docker?

Cláudio Mecenas
Manager Carlos Ferreira 15/06/2023

Já tiver dor de cabeça com o Laravel Socialite local, eu achei mais fácil criar um server temporário (com domínio com ssl pela Cloudflare) e testar por ele (https://www.youtube.com/watch?v=SJH6HgZhCHA)

Carlos Ferreira
Criador Cláudio Mecenas 15/06/2023

Muito obg, mestre! Faz muito sentido!

Cláudio Mecenas
Sabe a Solução? Ajude a resolver!

Precisa estar logado para conseguir responder a este ticket!

Clique Aqui Para Entrar!