Skip to content
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

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

Closed
danidoble opened this issue Sep 5, 2020 · 1 comment

Comments

@danidoble
Copy link

  • Jetstream Version: 0.6.4
  • Laravel Version: 8.0
  • PHP Version: 7.4.9
  • Database Driver & Version: MySQL 5.7.24

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
Copy link

yasserbenaioua commented Sep 5, 2020

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

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants