lando / lando/backdrop

Composer remove failing on startup/rebuild, causing build steps to be skipped

Open
#91 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
JavaScript
Stars
3
Forks
4
PR merge metrics
No merged PRs in 30d

Description

When rebuilding lando for a backdrop site I get an error that I'm unable to track down.

Apologies if this is a core lando issue and not related to the backdrop plugin.

All settings correct for using Composer
Downloading...

Composer (version 2.9.7) successfully installed to: /usr/local/bin/composer
Use it: php /usr/local/bin/composer

Changed current directory to /root/.config/composer

In JsonFile.php line 118:
                                               
  Could not read ./composer.json               
                                               
  The file "./composer.json" is not readable.                                              

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the Backdrop site rebuild and capture the Composer setup output shown in the issue. Trace the startup or rebuild path that invokes Composer, then verify that Composer can read its project file and that subsequent build steps run without being skipped.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, php
Domain
build-system, devops
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.