You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hey,
This issue is still causing problems using the offical docker image form docker hub.
More specifically, it happens when there is a syntax error in the composer.json.
We are running tag composer:2, which is currently this verison: Composer version 2.1.5 2021-07-23 10:35:47.
The command which breaks: composer install --quiet --no-scripts --optimize-autoloader --ignore-platform-reqs
Temporary we fixed it with downgrading to 2.1.2, but we still struggle with local builds.
Which versions are affected by this bug? Is it safe to update 2.1.2 to 2.1.4?
@Shikachuu I cannot replicate your issue. If my composer.json is just {,} then I (correctly) get the following when using Composer version df99150 (todays snapshot channel)
This was only fixed 10 days ago (28th July) in git so would not have been in the Composer version 2.1.5 2021-07-23 10:35:47 as that was released 5 days before the fix!
Enough info below to understand the issue I think - On mac, but again that will probably be irrelevant
The same happens using 2.1.5 stable
composer self-up --2
as it does in the snapshot version below.relates to this method call that doesnt exist in the class introduced in merged PR #10017, looks like that PR is missing the actual function in the PR
composer/src/Composer/Console/Application.php
Line 422 in e07d2a7
The text was updated successfully, but these errors were encountered: