Please use the argument -v to see more details.
Script @php artisan package:discover --ansi handling the post-autoload-dump event returned with error code 1
Installation failed, reverting ./composer.json and ./composer.lock to their original content.
`
Getting error when installing on Laravel Framework 6.20.24
I do composer require johnathan/nova-trumbowyg
I get the error Class 'Laravel\Nova\Nova' not found
Can't seem to figure what that class is for?
` - Installing johnathan/nova-trumbowyg (1.0.12): Extracting archive Generating optimized autoload files
Symfony\Component\Debug\Exception\FatalThrowableError : Class 'Laravel\Nova\Nova' not found
at /Users/erwin/laravelproject/vendor/johnathan/nova-trumbowyg/src/FieldServiceProvider.php:22 18| $this->publishes([ 19| DIR.'/../fonts/vendor' => public_path('fonts/vendor'), 20| ], 'public'); 21|
Exception trace:
1 Johnathan\NovaTrumbowyg\FieldServiceProvider::boot() /Users/erwin/laravelproject/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php:36
2 Illuminate\Container\BoundMethod::Illuminate\Container{closure}() /Users/erwin/laravelproject/vendor/laravel/framework/src/Illuminate/Container/Util.php:37
Please use the argument -v to see more details. Script @php artisan package:discover --ansi handling the post-autoload-dump event returned with error code 1
Installation failed, reverting ./composer.json and ./composer.lock to their original content. `