I tried to delete nova from my laravel project but I get an error every time I want to run php artisan.
I used the following command(composer remove laravel/nova)
and delete the files linked with nova
```
Class 'App\Providers\NovaServiceProvider' not found
```
Anyone stumbling across this when trying to deploy to an environment where you cache your config, the above solutions won't work.
You'll need to remove the bootstrap/cache/config.php file which contains the cached config that still includes App\Providers\NovaServiceProvider::class.
Once this cached file is removed you can rerun your deployment i.e. composer install and artisan commands, and this should resolve the issue.