Skip to content

composer fails because of salsify dependency #38

@pkoppstein

Description

@pkoppstein

composer require swaggest/json-cli
Info from https://repo.packagist.org: #StandWithUkraine
Using version ^1.11 for swaggest/json-cli
./composer.json has been updated
Running composer update swaggest/json-cli
Loading composer repositories with package information
Updating dependencies
Your requirements could not be resolved to an installable set of packages.

Problem 1
- salsify/json-streaming-parser v7.0 requires php ^5.4 | ^7.0 -> your php version (8.1.11) does not satisfy that requirement.
- swaggest/json-cli v1.11.0 requires salsify/json-streaming-parser ^7.0 -> satisfiable by salsify/json-streaming-parser[v7.0].
- Root composer.json requires swaggest/json-cli ^1.11 -> satisfiable by swaggest/json-cli[v1.11.0].

You can also try re-running composer require with an explicit version constraint, e.g. "composer require swaggest/json-cli:*" to figure out if any version is installable, or "composer require swaggest/json-cli:^2.1" if you know which you need.

Installation failed, reverting ./composer.json and ./composer.lock to their original content.
peter:~/jq$

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions