laravel / nova-issues

553 stars 34 forks source link

Laravel Nova install failed on Laravel 8 #3399

Closed christophe-44-27 closed 3 years ago

christophe-44-27 commented 3 years ago

Description:

I'm following the documentation to install Laravel Nova on my project and it's failing with error message that tells "NovaServiceProvider not found" when i launch "php artisan nova:install"

image

Detailed steps to reproduce the issue on a fresh Nova installation:

Install a fresh Laravel install (version 8, it works in version 7), use composer or the way to unzip the files into laravel root folder, and launch "php artisan nova:install".

dwightwatson commented 3 years ago

I have an issue when upgrading Nova and publishing the latest assets, so I suspect this is related. Did the latest version ship without stubs or something?

> @php artisan nova:publish
Unable to locate publishable resources.
Publishing complete.
Unable to locate publishable resources.
Publishing complete.
Unable to locate publishable resources.
Publishing complete.
Unable to locate publishable resources.
Publishing complete.
crynobone commented 3 years ago

@dwightwatson @christophe-44-27

Please revert to "laravel/framework": "8.41.0" until https://github.com/laravel/framework/pull/37405 has been merged and tagged.

@christophe-44-27

After downgrading, delete App\Providers\NovaServiceProvider::class from config/app.php and run php artisan nova:install again.

christophe-44-27 commented 3 years ago

Indeed, it's working with 8.41.0 for Laravel, thank you @crynobone !

crynobone commented 3 years ago

@christophe-44-27 let's keep this open until a patch has been released.

crynobone commented 3 years ago

v8.42.1 has been released on should solve this issue. thank you all.