I am running into a basic problem that I really can’t get over with.
I have created a new VM Instance on Google Compute Engine to run my Laravel development WebApp. After pulling the development from my GitHub I fail to run the composer install command…
Here is the error message displayed after running “composer install” inside the project:
Debian version : 9 (codename Stretch)
Apache 2 version : 2.4.25
PHP version : 7.3.12
Composer version : 1.2.2
Thanks for your help guys.
2
Answers
Problem solved ! I found out that my composer version was too old. I had to re-install composer. Now it is perfectly working. Thanks for your help !
Seems like your composer was installed using debian package manager. Run
which composer
and add it to your question detail.It’s recommended that you uninstall your composer and install it using the following commands;
Then run
composer install
if it’s a development environment orcomposer install --no-dev
if it’s a production machine.