Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
sitehandy opened this issue Feb 15, 2023 · 5 comments

Comments

@sitehandy
Copy link

sitehandy commented Feb 15, 2023

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.`

@andryshok
Copy link

Yes. Not work witn Laravel 10 . Please fix it.
` Problem 1
- Root composer.json requires htmlmin/htmlmin ^9.0 -> satisfiable by htmlmin/htmlmin[v9.0.0, v9.0.1].
- 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.4] but these were not loaded, likely because it conflicts with another require.

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.
`

@SalehHub
Copy link

as a temporary solution

update composer file to:

"htmlmin/htmlmin": "dev-master#347d577",

and

"minimum-stability": "dev",

@ghost
Copy link

ghost commented Mar 26, 2023

update in package composer json, or on my root project composer json?

@SalehHub
Copy link

update in package composer json, or on my root project composer json?

root project

@fsasvari
Copy link

Any news on this? To merge it to the new release version?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants