laravel / jetstream

Tailwind scaffolding for the Laravel framework.
https://jetstream.laravel.com
MIT License
3.95k stars 809 forks source link

Problem to register a new users: Target [Laravel\Fortify\Contracts\CreatesNewUsers] is not instantiable. #65

Closed danidoble closed 4 years ago

danidoble commented 4 years ago

Description:

Illuminate\Contracts\Container\BindingResolutionException Target [Laravel\Fortify\Contracts\CreatesNewUsers] is not instantiable.

Here you can see the error https://flareapp.io/share/4m4lgpmM#F54

Steps To Reproduce:

I just install laravel 8, and install jetstream composer require laravel/jetstream And next I install livewire php artisan jetstream:install livewire I compile the assets npm install && npm run dev I Publish the views php artisan vendor:publish --tag=jetstream-views And I make the migration Until here everything it's fine but, when i try to register a new user i have the error

This error also have when i use laravel new project-name --jet

yasserbenaioua commented 4 years ago

you must register FortifyServiceProvider and JetstreamServiceProvider providers in config/app.php:

        'providers' => [
        // [...]
                App\Providers\FortifyServiceProvider::class,
                App\Providers\JetstreamServiceProvider::class,
        ],