comments icon indicating copy to clipboard operation
comments copied to clipboard

unable to install in laravel 9

Open Shubhamlmp opened this issue 2 years ago • 7 comments

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

Problem 1 - Root composer.json requires laravelista/comments ^4.5 -> satisfiable by laravelista/comments[4.5.0]. - laravelista/comments 4.5.0 requires illuminate/database ^8.0 -> found illuminate/database[v8.0.0, ..., 8.x-dev] 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 laravelista/comments:*" to figure out if any version is installable, or "composer require laravelista/comments:^2.1" if you know which you need.

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

Shubhamlmp avatar May 04 '22 14:05 Shubhamlmp

I think that this package does not support Laravel 9 atm.

mabasic avatar May 05 '22 07:05 mabasic

Same issue. Bummer

ghost avatar May 09 '22 12:05 ghost

Same issue here: Only one of these can be installed: illuminate/pagination[v8.0.0, ..., 8.x-dev], laravel/framework[v9.0.0-beta.1, ..., 9.x-dev]. laravel/framework replaces illuminate/pagination and thus cannot coexist with it.

A fix is fairly easy by replacing all instances of illuminate/pagination with the new package, but this will cause it to break in laravel versions < 9.

jeroenpost86 avatar May 13 '22 13:05 jeroenpost86

at master we have "illuminate/database": "^9.0" but at v4.5.0 "illuminate/database": "^8.0"

can somebody update the version?

bondarslavik avatar Jun 04 '22 14:06 bondarslavik

At the time being this solved my issue, I do agree it'd be great if the latest version is bumped -

composer require laravelista/comments:dev-master

m7vm7v avatar Jun 21 '22 08:06 m7vm7v

At the time being this solved my issue, I do agree it'd be great if the latest version is bumped -

composer require laravelista/comments:dev-master

This unfortunately doesn't work with laravel 10.

- laravelista/comments dev-master requires illuminate/database ^9.0 -> found illuminate/database[v9.0.0, ..., v9.52.9] but these were not loaded, likely because it conflicts with another require.

djordje47 avatar Jun 19 '23 13:06 djordje47

@djordje47 have you looked at the https://github.com/laravelista/comments/pull/198

m7vm7v avatar Jun 28 '23 13:06 m7vm7v