Skip to content

Laravel 10 - Your requirements could not be resolved to an installable set of packages. #173

@sitehandy

Description

@sitehandy

I'm getting this error

`Your requirements could not be resolved to an installable set of packages.

Problem 1
- htmlmin/htmlmin[v1.0.0, ..., v1.1.1] require laravel/framework 4.1.* -> found laravel/framework[v4.1.0, ..., v4.1.31] but it conflicts with your root composer.json require (^10.0).
- htmlmin/htmlmin[v2.0.0, ..., v2.1.4] require illuminate/filesystem ~4.2 -> found illuminate/filesystem[v4.2.1, ..., v4.2.17] but these were not loaded, likely because it conflicts with another require.
- htmlmin/htmlmin[v3.0.0, ..., v3.0.1] require illuminate/contracts 5.0.* -> found illuminate/contracts[v5.0.0, v5.0.33] but these were not loaded, likely because it conflicts with another require.
- htmlmin/htmlmin[v3.1.0, v4.0.0, ..., v4.1.0] require illuminate/contracts 5.0.|5.1. -> found illuminate/contracts[v5.0.0, ..., v5.1.41] but these were not loaded, likely because it conflicts with another require.
- htmlmin/htmlmin[v4.2.0, ..., v4.2.1] require illuminate/contracts 5.1.|5.2. -> found illuminate/contracts[v5.1.1, ..., v5.2.45] but these were not loaded, likely because it conflicts with another require.
- htmlmin/htmlmin[v4.3.0, ..., v4.4.0] require illuminate/contracts 5.1.|5.2.|5.3.* -> found illuminate/contracts[v5.1.1, ..., v5.3.23] but these were not loaded, likely because it conflicts with another require.
- htmlmin/htmlmin v4.5.0 requires illuminate/contracts 5.1.|5.2.|5.3.|5.4. -> found illuminate/contracts[v5.1.1, ..., v5.4.36] but these were not loaded, likely because it conflicts with another require.
- htmlmin/htmlmin v5.0.0 requires illuminate/contracts 5.1.|5.2.|5.3.|5.4.|5.5.* -> found illuminate/contracts[v5.1.1, ..., v5.5.44] but these were not loaded, likely because it conflicts with another require.
- htmlmin/htmlmin v5.6.0 requires illuminate/contracts 5.1.|5.2.|5.3.|5.4.|5.5.|5.6. -> found illuminate/contracts[v5.1.1, ..., v5.6.39] but these were not loaded, likely because it conflicts with another require.
- htmlmin/htmlmin v5.7.0 requires illuminate/contracts 5.1.|5.2.|5.3.|5.4.|5.5.|5.6.|5.7.* -> found illuminate/contracts[v5.1.1, ..., v5.7.28] but these were not loaded, likely because it conflicts with another require.
- htmlmin/htmlmin v5.8.0 requires illuminate/contracts 5.1.|5.2.|5.3.|5.4.|5.5.|5.6.|5.7.|5.8. -> found illuminate/contracts[v5.1.1, ..., v5.8.36] but these were not loaded, likely because it conflicts with another require.
- htmlmin/htmlmin v6.0.0 requires illuminate/contracts 5.1.|5.2.|5.3.|5.4.|5.5.|5.6.|5.7.|5.8.|6.0.* -> found illuminate/contracts[v5.1.1, ..., v5.8.36, v6.0.0, ..., v6.0.4] but these were not loaded, likely because it conflicts with another require.
- htmlmin/htmlmin v6.0.1 requires illuminate/contracts 5.1.|5.2.|5.3.|5.4.|5.5.|5.6.|5.7.|5.8.|^6.0 -> found illuminate/contracts[v5.1.1, ..., v5.8.36, v6.0.0, ..., v6.20.44] but these were not loaded, likely because it conflicts with another require.
- htmlmin/htmlmin v7.0.0 requires illuminate/contracts 5.1.|5.2.|5.3.|5.4.|5.5.|5.6.|5.7.|5.8.|^6.0|^7.0 -> found illuminate/contracts[v5.1.1, ..., v5.8.36, v6.0.0, ..., v6.20.44, v7.0.0, ..., v7.30.6] but these were not loaded, likely because it conflicts with another require.
- htmlmin/htmlmin v8.0.0 requires illuminate/contracts 5.1.|5.2.|5.3.|5.4.|5.5.|5.6.|5.7.|5.8.|^6.0|^7.0|^8.0 -> found illuminate/contracts[v5.1.1, ..., v5.8.36, v6.0.0, ..., v6.20.44, v7.0.0, ..., v7.30.6, v8.0.0, ..., v8.83.27] but these were not loaded, likely because it conflicts with another require.
- htmlmin/htmlmin[v9.0.0, ..., v9.0.1] require illuminate/contracts 5.1.|5.2.|5.3.|5.4.|5.5.|5.6.|5.7.|5.8.|^6.0|^7.0|^8.0|^9.0 -> found illuminate/contracts[v5.1.1, ..., v5.8.36, v6.0.0, ..., v6.20.44, v7.0.0, ..., v7.30.6, v8.0.0, ..., v8.83.27, v9.0.0, ..., v9.52.0] but these were not loaded, likely because it conflicts with another require.
- Root composer.json requires htmlmin/htmlmin * -> satisfiable by htmlmin/htmlmin[v1.0.0, v1.1.0, v1.1.1, v2.0.0, ..., v2.1.4, v3.0.0, v3.0.1, v3.1.0, v4.0.0, ..., v4.5.0, v5.0.0, v5.6.0, v5.7.0, v5.8.0, v6.0.0, v6.0.1, v7.0.0, v8.0.0, v9.0.0, v9.0.1].

Use the option --with-all-dependencies (-W) to allow upgrades, downgrades and removals for packages currently locked to specific versions.
You can also try re-running composer require with an explicit version constraint, e.g. "composer require htmlmin/htmlmin:*" to figure out if any version is installable, or "composer require htmlmin/htmlmin:^2.1" if you know which you need.

Installation failed, reverting ./composer.json and ./composer.lock to their original content.`

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