1. Accueil
  2. Discussions

Erreur lors du lancement de L'API

1Back-end
ETOUDI

php artisan serve --port=9000

Error

Call to a member function make() on null

at vendor\laravel\framework\src\Illuminate\Console\Command.php:171 167▕ */ 168▕ #[\Override] 169▕ public function run(InputInterface $input, OutputInterface $output): int 170▕ { ➜ 171▕ $this->output = $output instanceof OutputStyle ? $output : $this->laravel->make( 172▕ OutputStyle::class, ['input' => $input, 'output' => $output] 173▕ ); 174▕ 175▕ $this->components = $this->laravel->make(Factory::class, ['output' => $this->output]);

1 vendor\symfony\console\Application.php:1102 Illuminate\Console\Command::run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\Cons oleOutput))

2 vendor\symfony\console\Application.php:356 Symfony\Component\Console\Application::doRunCommand(Object(Illuminate\Foundation\Console\ServeCommand), Object(Symfony\Componen t\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))

Commentaires

Il faut Se connecter ou Créer un compte pour participer à cette conversation.

Convertir en sujet

Voulez-vous vraiment transformer cette discussion en sujet de forum?

Confirmer la suppression

Êtes-vous sûr de vouloir supprimer cette discussion ? Cette action est irréversible.