laravel-modules icon indicating copy to clipboard operation
laravel-modules copied to clipboard

Error on Shared Hosting After Installing Laravel Module Package (Laravel 11 & laravel-module-installer)

Open HkaanUsta opened this issue 1 year ago • 3 comments

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 image image image

HkaanUsta avatar Sep 06 '24 16:09 HkaanUsta

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

alissn avatar Sep 06 '24 19:09 alissn

Hi,

I have updated the package version to 11.0 as instructed and made the necessary changes, but the issue still persists.

HkaanUsta avatar Sep 09 '24 07:09 HkaanUsta

@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.

alissn avatar Sep 09 '24 10:09 alissn

if this is still an issue please let us see what your root composer.json contains.

dcblogdev avatar Nov 16 '24 13:11 dcblogdev