gothinkster / laravel-realworld-example-app

Exemplary real world backend API built with Laravel

Home Page:https://realworld.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Upgrade composer from 1 to 2

sokolnikov911 opened this issue · comments

Should upgrade Composer from version 1 to 2 released on October 24th, 2020.

Hi @sokolnikov911!
Composer is not included in this repository. Did you had any problems using Composer version 2?

@lhsazevedo hello!

Yes, i can't install with composer 2:

  Problem 1
    - kylekatarnls/update-helper is locked to version 1.1.1 and an update of this package was not requested.
    - kylekatarnls/update-helper 1.1.1 requires composer-plugin-api ^1.1.0 -> found composer-plugin-api[2.0.0] but it does not match the constraint.
  Problem 2
    - kylekatarnls/update-helper 1.1.1 requires composer-plugin-api ^1.1.0 -> found composer-plugin-api[2.0.0] but it does not match the constraint.
    - nesbot/carbon 1.39.0 requires kylekatarnls/update-helper ^1.1 -> satisfiable by kylekatarnls/update-helper[1.1.1].
    - nesbot/carbon is locked to version 1.39.0 and an update of this package was not requested.

You are using Composer 2, which some of your plugins seem to be incompatible with. Make sure you update your plugins or report a plugin-issue to ask them to support Composer 2. 

As you see, problem in package nesbot/carbon, required by laravel/framework v5.5.

Thanks for reporting, this should be gone when we bring Laravel up to date. Waiting on gothinkster/realworld#564