I was trying to run php artisan optimize when I got the following error message;
LogicException : Unable to prepare route [nova-vendor/laravel-nova-translation-editor/index] for serialization. Uses Closure.
at /..../vendor/laravel/framework/src/Illuminate/Routing/Route.php:918
914| public function prepareForSerialization()
915| {
916|
917| if ($this->action['uses'] instanceof Closure) {
> 918| throw new LogicException("Unable to prepare route [{$this->uri}] for serialization. Uses Closure.");
919| }
920|
921| $this->compileRoute();
Hi there,
I was trying to run
php artisan optimize
when I got the following error message;Is there a solution for this?