Coder Social home page Coder Social logo

Comments (12)

zaknesler avatar zaknesler commented on April 28, 2024 46

Make sure that you are registering the service providers in config/app.php:

App\Providers\FortifyServiceProvider::class,
App\Providers\JetstreamServiceProvider::class, // If using Jetstream

from fortify.

NoOorZ24 avatar NoOorZ24 commented on April 28, 2024 8

Make sure that you are registering the service providers in config/app.php:

App\Providers\FortifyServiceProvider::class,
App\Providers\JetstreamServiceProvider::class, // If using Jetstream

does not work on me

https://github.com/laravel/fortify#authentication

from fortify.

semul avatar semul commented on April 28, 2024 6

php artisan config:clear can solve this issue.

from fortify.

pwnedDesal avatar pwnedDesal commented on April 28, 2024 3

Make sure that you are registering the service providers in config/app.php:

App\Providers\FortifyServiceProvider::class,
App\Providers\JetstreamServiceProvider::class, // If using Jetstream

does not work on me
image

from fortify.

jozeflambrecht avatar jozeflambrecht commented on April 28, 2024

Thanks @zaknesler

from fortify.

kystudio-jerry avatar kystudio-jerry commented on April 28, 2024

Make sure that you are registering the service providers in config/app.php:

App\Providers\FortifyServiceProvider::class,
App\Providers\JetstreamServiceProvider::class, // If using Jetstream

does not work on me
image

you just need use one of list in your config/app.php depend on your solution by fortify or jetstream.

from fortify.

shortdark avatar shortdark commented on April 28, 2024

The Fortify docs give you this for /login...

Fortify::loginView(fn () => view('auth.login'));

But, for /register you would also need this...

Fortify::registerView(fn () => view('auth.register'));

Not having this will cause the error...

Target [Laravel\Fortify\Contracts\RegisterViewResponse] is not instantiable

from fortify.

seguce92 avatar seguce92 commented on April 28, 2024

Make sure that you are registering the service providers in config/app.php:

App\Providers\FortifyServiceProvider::class,
App\Providers\JetstreamServiceProvider::class, // If using Jetstream

does not work on me
image

Verify that the following providers are registered in the config.app file in the providers section

App\Providers\FortifyServiceProvider::class,
App\Providers\JetstreamServiceProvider::class, // If using Jetstream

Uncomment the following line in the App\Providers\FortifyServiceProvider.php file

Fortify::createUsersUsing(CreateNewUser::class);

from fortify.

wandumi avatar wandumi commented on April 28, 2024

@seguce92 did you manage to solve the problem?

from fortify.

seguce92 avatar seguce92 commented on April 28, 2024

@seguce92 did you manage to solve the problem?

Yes, do the above steps and everything worked correctly.

from fortify.

wandumi avatar wandumi commented on April 28, 2024

@seguce92 I think lots of peoples solution it halfway, I am seeing it will require me to create the views to finalize the whole process right? I just installed and because I saw the login URL I thought it will work as laravel/UI was doing.

from fortify.

kishanterry avatar kishanterry commented on April 28, 2024

Landed here after installing Jetstream, if none of the above solution works, check the ./bootstrap/providers.php. It should look like:

<?php

return [
    App\Providers\AppServiceProvider::class,
    App\Providers\FortifyServiceProvider::class,
    App\Providers\JetstreamServiceProvider::class,
];

The return array was missing App\Providers\FortifyServiceProvider::class, for me ... somehow the automagic missed it.

Cheers!

from fortify.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.