-
Notifications
You must be signed in to change notification settings - Fork 34
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Laravel Nova on Laravel 11 and Spatie Once #6282
Comments
This is probably a duplicate of #6278. Do you have |
The issue is with the duplication of the "once" function in Laravel 11. You should replace https://github.com/laravel/framework/pull/49744/files The workaround is to copy the provider and correct this line of code: composer.json
app/Providers/NovaCoreServiceProvider.php
bootstrap/providers.php
|
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Description:
I have a problem with Laravel Nova using the Laravel 11 framework.
Composer does not install the "spatie/once" package. Hence, the "Spatie\Once\Cache" class is missing.
Laravel 11 now provides its own once function to ensure that a given closure is only executed once.
Detailed steps to reproduce the issue on a fresh Nova installation:
Install Laravel Nova on Laravel 11.
The text was updated successfully, but these errors were encountered: