Question

[RuntimeException]/var/www/vendor does not exist and could not be created

Posted September 4, 2020 383 views
UbuntuPHPDockerPHP FrameworksLEMPLaravelUbuntu 20.04

Hello

I was following the tutorial :
https://www.digitalocean.com/community/tutorials/how-to-install-and-set-up-laravel-with-docker-compose-on-ubuntu-20-04-fr

But when i try “docker-compose exec app composer install”.
I have error :

[RuntimeException]/var/www/vendor does not exist and could not be created.

I try with sudo but doesn’t work. Any issue ?

thanks a lot

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

×
1 answer

Hi @sylvainFish,

I can confirm I just followed the tutorial and managed to run the command you mentioned without a problem. Unfortunately, I can’t seem an exact reason behind the experienced issue. What I’ll recommend is just trying to follow the tutorial step by step from the beginning.

Regards,
KFSys

Submit an Answer