I have encountered this in the past when I fail to match my class name to my file name. You might start by checking that.
[PT-BR] Erro no Docker após instalar o Spatie
PS: If you are reading this and don't speak portuguese, sorry, as the forum doesn't have a section for languages I feel like putting some kind of mark [PT-BR] showing the language in question.
Olá, pessoal! Toda vez que tento instalar o Spatie pra usar o Laravel Permissions, primeiro ele dá o seguinte warning:
"Class App\Console\Commands\ModelMakeCommand located in ./app/Console/Command/ModelMakeCommand.php does not comply with psr-4 autoloading standard. Skipping. Class App\Repositories\BaseRepository located in ./app/Repositories/ColaboradorRepository.php does not comply with psr-4 autoloading standard. Skipping. Method Illuminate\Foundation\ComposerScripts::postAutoloadDump is not callable, can not call post-autoload-dump script"
Mas é instalado. Só que quando eu vou rodar o docker-compose up ele dá esse erro:
"In Container.php line 729:
Class App\Console\Commands\ModelMakeCommand does not exist"
Alguém sabe como resolver?
Please or to participate in this conversation.