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

Class 'Modules\Blog\Providers\BlogServiceProvider' not found #1283

Closed
arif98741 opened this issue Sep 21, 2021 · 6 comments
Closed

Class 'Modules\Blog\Providers\BlogServiceProvider' not found #1283

arif98741 opened this issue Sep 21, 2021 · 6 comments
Labels

Comments

@arif98741
Copy link

Every time I create a new module I get error that Provider is not found
435325
nd
43543

@maxcelos
Copy link

Run composer dumpautoload

@stale
Copy link

stale bot commented Oct 7, 2021

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the stale label Oct 7, 2021
@stale stale bot closed this as completed Oct 14, 2021
@abanghendri
Copy link

hello, is there any fix for this?
I just try the package and get the same issue

@arif98741
Copy link
Author

what is your laravel version?

@abanghendri
Copy link

abanghendri commented Jan 24, 2022

I use laravel 8 and laravel module v6

@joshuacadman01
Copy link

I had this issue and it was due to me not adding the below code in the composer.json file.
{ "autoload": { "psr-4": { "App\\": "app/", "Modules\\": "Modules/", "Database\\Factories\\": "database/factories/", "Database\\Seeders\\": "database/seeders/" } } }.

After running composer dump-autoload, the issue went away.

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

No branches or pull requests

4 participants