3
respostas

Erro ao executar o php artisan serve

Está aparecendo essa tela para mim

Como devo proceder?

INFO Server running on [http://127.0.0.1:8000].

Press Ctrl+C to stop the server

WARN PHP Warning: Unknown: Failed to open stream: No such file or directory in Unknown on line 0.

WARN PHP Fatal error: Failed opening required 'C:\Users\Luara\Documents\Luara\Alura\PHP\Laravel\controle-series\vendor\laravel\framework\src\Illuminate\Foundation\Console/../resources/server.php' (include_path='.c:\php\includes') in Unknown on line 0.

2024-04-19 16:00:01 ......................................................................................................................................... ~ 0s 2024-04-19 16:00:01 ......................................................................................................................................... ~ 0s 2024-04-19 16:00:01 ......................................................................................................................................... ~ 0s WARN PHP Warning: Unknown: Failed to open stream: No such file or directory in Unknown on line 0.

WARN PHP Fatal error: Failed opening required 'C:\Users\Luara\Documents\Luara\Alura\PHP\Laravel\controle-series\vendor\laravel\framework\src\Illuminate\Foundation\Console/../resources/server.php' (include_path='.c:\php\includes') in Unknown on line 0.

2024-04-19 16:00:03 ......................................................................................................................................... ~ 0s

3 respostas

Oii, Luara!

Pareque que está faltando arquivos no seu projeto. Tente rodar no terminal o comando: composer update para ver se resolve. Verifica também se está executando o comando php artisan serve na raiz do projeto.

Bons estudos!

Não resolveu o problema Continua aparecendo isso

Warning: Unknown: Failed to open stream: No such file or directory in Unknown on line 0

Fatal error: Failed opening required 'C:\Users\Luara\Documents\Luara\Alura\PHP\Laravel\controle-series\vendor\laravel\framework\src\Illuminate\Foundation\Console/../resources/server.php' (include_path='.c:\php\includes') in Unknown on line 0

Oii, Luara. Que estranho... Você verificou se está rodando os comandos na raiz do projeto? Consegue mandar um print aqui?