Laravel Nova, route not found



PHP Snippet 1:

php artisan config:clear

PHP Snippet 2:

"extra": {
    "laravel": {
        "dont-discover": [
            "*"
        ]
    }
}

PHP Snippet 3:

"extra": {
    "laravel": {
        "providers": [
            "Laravel\\Nova\\NovaCoreServiceProvider"
        ],
        "aliases": {
            "Nova": "Laravel\\Nova\\Nova"
        }
    }
},

PHP Snippet 4:

a2enmod rewrite

PHP Snippet 5:

sudo systemctl restart apache2

PHP Snippet 6:

    public function boot()
    {
        parent::boot();
        Nova::serving(function (ServingNova $event) {
            $request = $event->request;
            \Log::debug(Nova::resourceInformation($request));
        }