F
Filament16mo ago
skeemer

Target class [cache] does not exist.

I'm using nwidart/modules and v3.0.14 created the error. I've tried looking at the change and I can't see why it would cause that error. Did the change make things run earlier than previously? This is the reference to the failing line. https://github.com/nWidart/laravel-modules/blob/354d91d46907f9ecc8d7197c69186a2b84020ada/src/FileRepository.php#L77 I'm not sure why the cache would not be initiated as that's pulling the main Laravel a cache. The $panel addition: ->discoverResources(in: module_path('Blog', 'Filament/Resources'), for: 'Modules\\Blog\\Filament\\Resources')
1 Reply
skeemer
skeemerOP16mo ago
I was able to fix this by changing to ->discoverResources(in: base_path('Modules/Blog/Filament/Resources'), for: 'Modules\\Blog\\Filament\\Resources'). This is not a good solution, but will have to do since there doesn't seem to be any progress on this.
Want results from more Discord servers?
Add your server