laravel-modules
laravel-modules copied to clipboard
Error on Shared Hosting After Installing Laravel Module Package (Laravel 11 & laravel-module-installer)
Hello everyone!
I'm using laravel 11 with laravel-modules and also as suggested package for publishing and installing module package ( joshbrw/laravel-module-installer ). I did my module as a package uploaded it to the packageist.org, downloaded and everthing worked well for local dev env. When I uploaded it to the shared hosting, It threw and an error I attached above. I couldn't find the solution. I'm open any feedback or question to explan my code.
Thanks
hi,
you should update package version to 11.
"nwidart/laravel-modules": "^11.0",
and need to make some change on your project. more info here
Hi,
I have updated the package version to 11.0 as instructed and made the necessary changes, but the issue still persists.
@HkaanUsta
Hi,
please run composer update and share result.
also share section autoload on root composer.json of project.
and composer.json of module User.
if this is still an issue please let us see what your root composer.json contains.