-
-
Notifications
You must be signed in to change notification settings - Fork 172
Bug: requires composer-plugin-api ^1.0 -> found composer-plugin-api[2.3.0]
on composer install
#93
Comments
So I started updating This should be added as a note to this project: For getting the most recent and working (with |
We've talked about just retiring this repo entirely since we aren't sure how useful it is. Do you use this as a template? |
@swalkinshaw: I don't know if this already exists (and I simply missed it), but it would be great if the Trellis repository Edit: Maybe not for production (due to security reasons, as someone may accidentally deploy an empty site to production), but for |
@swalkinshaw: Edit 2: The Bedrock repository itself could be used as the example site? |
It can be... I actually use it locally for testing. I think I just wanted Maybe it doesn't matter much since there's already a comment (and docs) |
OK, so IMHO this repository can be retired as it is quite outdated now and Edit: The Bedrock repo can be added as comment to the example site in Trellis on production and staging. So it is very easy to copy/enable it if Trellis deployments should be tested quickly. |
Terms
Description
What's wrong?
When trying to install the
composer
dependencies usingcomposer
v2
(which recentTrellis
also does, hence it also causes a deployment error there),composer
fails to install the dependencies because thecomposer.json
expectscomposer-plugin-api
v1.x
whilecomposer
v2
has thecomposer-plugin-api
v2.x
.What have you tried?
composer install
inside thesite/
directory of this repository.What insights have you gained?
Incompatibilities with
composer
v2
which is the current version and also used in recentTrellis
.Possible solutions
Update the
composer
dependencies / update thecomposer.lock
lockfile.Temporary workarounds
Steps To Reproduce
A.
repo: [email protected]:roots/roots-example-project.com.git
).B.
git clone [email protected]:roots/roots-example-project.com.git
).site/
directory (cd roots-example-project.com/site
.composer install
.Note the error that occurs.
Expected Behavior
No
composer
errors when installing the dependencies usingcomposer install
.Actual Behavior
composer
error when usingcomposer install
.Relevant Log Output
Versions
The text was updated successfully, but these errors were encountered: