repman-io / repman

Repman - PHP Repository Manager: packagist proxy and host for private packages
https://repman.io
MIT License
513 stars 106 forks source link

docker-compose PHP error #599

Open Ahmard opened 2 years ago

Ahmard commented 2 years ago

Hello there, I'm trying to set up this app in my local machine and got an error with following message "Attempted to load class "MakerBundle" from namespace "Symfony\Bundle\MakerBundle". Did you forget a "use" statement for another namespace?"

How can I solve this? Screenshot from 2022-06-26 03-20-42

Thank you.

KSauter commented 2 years ago

Hi @Ahmard,

I think you are running the application in DEV-Mode. MakerBundle should not be loaded in prod.

Ahmard commented 2 years ago

Okay, I will try running it in prod mode and see. Thanks.

Gration1 commented 2 years ago

I had the same issue, turns out the normal .env file was overriding the .env.docker file