Skip to content

Update to composer 2, dependency error on install #12

@geek-andi

Description

@geek-andi

Problem

On installing I get a dependency issue. composer-plugin-api seems to be coming with composer 2.x, so the theme dependencies should be updated to 2.x

$ composer install
No lock file found. Updating dependencies instead of installing from lock file. Use composer update over composer install if you do not have a lock file.
Loading composer repositories with package information
Updating dependencies
Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - nuvoleweb/drupal-component-scaffold[dev-master, 0.1.0] require composer-plugin-api ^1.0.0 -> found composer-plugin-api[2.0.0] but it does not match the constraint.
    - Root composer.json requires nuvoleweb/drupal-component-scaffold * -> satisfiable by nuvoleweb/drupal-component-scaffold[dev-master, 0.1.0].

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions