Just a quick update on this issue: still no progress. I've even tried reinstalling Laravel fresh, and the same issue occurs - very strangely, the exact same issue, whereby only the Jobs
module's routes will work. I've tried making some more modules and none of their routes are found by the web application either - so the 'Jobs' module is the anomaly for working, as no other module seems to work, despite the correct entry being made in the PSR-4 autoload section of the application's composer.json
.
And another update: I had enough and hard-rebooted my server. And... now even the jobs routes don't work. I have utterly no idea what's going on, but at least I have consistent behaviour from these modules now.
Hey,
You can have a look at this thread https://github.com/nWidart/laravel-modules/issues/118 . It should solve the problem.
in the file config/modules.php
Change
'scan' => [
'enabled' => false,
'paths' => [
base_path('vendor/*/*'),
],
],
to
'scan' => [
'enabled' => true,
'paths' => [
base_path('modules/*'),
],
],
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community