I recently had a problem generating the js file, I had updated api.php but by running the php artisan laroute:generate command I did not modify js. After a while I thought about clearing the cache of the Laravel routes and then everything worked correctly.
I suggest making the call $this->call('route:cache'); at the beginning of the function handle().
I recently had a problem generating the js file, I had updated api.php but by running the
php artisan laroute:generate
command I did not modify js. After a while I thought about clearing the cache of the Laravel routes and then everything worked correctly.I suggest making the call
$this->call('route:cache');
at the beginning of thefunction handle()
.