tailwindcss icon indicating copy to clipboard operation
tailwindcss copied to clipboard

Update for laravel 9

Open xndbogdan opened this issue 3 years ago • 2 comments
trafficstars

xndbogdan avatar Mar 19 '22 14:03 xndbogdan

Hello, I am having this compatibility issue. Kindly Help please..

Capture

imran300 avatar Apr 07 '22 10:04 imran300

I am also having the same problem as @imran300

I am running the command - composer require laravel-frontend-presets/tailwindcss --dev

and get the following error :-

Running composer update laravel-frontend-presets/tailwindcss Loading composer repositories with package information Info from https://repo.packagist.org: #StandWithUkraine Updating dependencies Your requirements could not be resolved to an installable set of packages.

Problem 1 - laravel-frontend-presets/tailwindcss[4.3.0, ..., 4.3.1] require laravel/framework ^8.0 -> found laravel/framework[v8.0.0, ..., 8.x-dev] but it conflicts with your root composer.json require (^9.2). - Root composer.json requires laravel-frontend-presets/tailwindcss ^4.3 -> satisfiable by laravel-frontend-presets/tailwindcss[4.3.0, 4.3.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 laravel-frontend-presets/tailwindcss:*" to figure out if any version is installable, or "composer require laravel-frontend-presets/tailwindcss:^2.1" if you know which you need.

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

I have tried to use the --with-all-dependencies (-W) but that doesn't work either...

schoolbooking-mark avatar Apr 11 '22 12:04 schoolbooking-mark

Hello,

I'm also having the same issue... is this project still active?

carlosolivas avatar Aug 14 '22 20:08 carlosolivas

Releasing as separate package here: https://packagist.org/packages/xndbogdan/tailwindcss Install it and have fun.

xndbogdan avatar Aug 16 '22 11:08 xndbogdan

Thank you this solved my problem.

composer require xndbogdan/tailwindcss

elgallouchi avatar Jan 08 '23 11:01 elgallouchi