-
Notifications
You must be signed in to change notification settings - Fork 806
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
Target [Laravel\Fortify\Contracts\CreatesNewUsers] is not instantiable. #41
Comments
Did you register the |
I looked into the issue: jetstream/src/Console/InstallCommand.php Lines 77 to 86 in 6ac870f
It checks if the ServiceProvider is not already registered in config/app.php and then writes it to the config.But the replacing part is not working. Even though the Str::contains(...) is working correctly.
Don't know what the issue is while replacing the Same Problem with JetstreamServiceProvider. |
It seems like under windows it works with so it could be: file_put_contents(config_path('app.php'), str_replace(
"App\\Providers\\RouteServiceProvider::class,\n",
"App\\Providers\\RouteServiceProvider::class,\n App\Providers\FortifyServiceProvider::class,".PHP_EOL,
$appConfig
)); Edit: Under windows |
@Jubeki This is probably something specific to your setup. Edit: Nevermind, I see your updated comment regarding the config file. :) |
The installer did not auto-register the service providers, FortifyServiceProvider and JetstreamServiceProvider, I already did it manually and it works fine now. |
Can't recreate on a fresh app. |
@taylorotwell it happens with Windows and Git. Git replaces |
Description:
After the clean installation of Laravel with jetstream and livewire, authentication and equipment, it does not allow registration.
context:
https://flareapp.io/share/OmVLBR78
Steps To Reproduce:
laravel new blog --dev
cd blog
npm install
php artisan migrate
php artisan jetstream:install livewire --teams
register new user
The text was updated successfully, but these errors were encountered: