HTMLMin / Laravel-HTMLMin

A simple HTML minifier for Laravel 5, 6, 7, 8 & 9.
MIT License
1.02k stars 118 forks source link

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

Open sitehandy opened 1 year ago

sitehandy commented 1 year ago

I'm getting this error

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

Problem 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 commented 1 year ago

Yes. Not work witn Laravel 10 . Please fix it. ` Problem 1

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 commented 1 year ago

as a temporary solution

update composer file to:

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

and

"minimum-stability": "dev",

ghost commented 1 year ago

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

SalehHub commented 1 year ago

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

root project

fsasvari commented 9 months ago

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