Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Composer does not work anymore #3625

Open
MatthiasBrodelet opened this issue Oct 24, 2023 · 2 comments
Open

Composer does not work anymore #3625

MatthiasBrodelet opened this issue Oct 24, 2023 · 2 comments
Labels
bug Something aint working right!

Comments

@MatthiasBrodelet
Copy link

MatthiasBrodelet commented Oct 24, 2023

I have been using Lando for years now without too much issues but now I seem to have hit a rather weird bug.
When running lando composer install I get the following message:
You must set up the project dependencies using composer install
See https://getcomposer.org/download/ for instructions on installing Composer

This is my lando file:

name: the-house-webshop
recipe: lamp
config:
    webroot: web
    php: 8.1
    database: mysql

services:
    database:
        type: mysql
    pma:
        type: phpmyadmin
        hosts:
            - database

I have uninstalled and reinstalled Lando and Docker. I also downgraded both Lando and docker but the issue persists.
I'm running on MacOS with M1 Pro.

What is the cause of this issue and how can it be fixed?

Update: It seems that lando composer only works when there is a composer.lock file. This seems kind of annoying because all I wanted to do was lando composer install

@MatthiasBrodelet MatthiasBrodelet added the bug Something aint working right! label Oct 24, 2023
@jdelon02
Copy link

jdelon02 commented Dec 7, 2023

I am having the same issue, using pantheon recipe to pull down sites to local. This is a big issue for me.

@aasarava
Copy link

Try deleting your /vendor directory and then running lando composer install. Worked for me.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something aint working right!
Projects
None yet
Development

No branches or pull requests

3 participants