paulbalandan / liaison-revision

Seamless software updates library for CodeIgniter4 projects.
MIT License
15 stars 3 forks source link

Installation fails with CI Version 4.5.6 #2

Open murugappanrm opened 3 weeks ago

murugappanrm commented 3 weeks ago

I tried to install the package in CI version 4.5.6 and it fails with following error. Please help.

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 liaison/revision:*" to figure out if any version is installable, or "composer require liaison/revision:^2.1" if you know which you need.

Installation failed, reverting ./composer.json and ./composer.lock to their original content.
PS C:\xampp\htdocs\MyCourses\ci4\courses\CI4-Hollingworth\ciapp> composer require liaison/revision ./composer.json has been updated Running composer update liaison/revision Loading composer repositories with package information Updating dependencies 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 liaison/revision:*" to figure out if any version is installable, or "composer require liaison/revision:^2.1" if you know which you need.ing the package in CI version 4.5.6 and it fails

paulbalandan commented 3 weeks ago

Hi! Thank you for reporting. I'll look into your issue.

murugappanrm commented 2 weeks ago

@corrosive4354 when i do that i get the following:

Loading composer repositories with package information Package "liaison/revision" listed for update is not locked. Updating dependencies Nothing to modify in lock file Installing dependencies from lock file (including require-dev) Nothing to install, update or remove Generating optimized autoload files 26 packages you are using are looking for funding. Use the composer fund command to find out more! No security vulnerability advisories found.

paulbalandan commented 2 weeks ago

This is due to outdated dependencies of this project which is over 3 years old since the last release. To fix this we need to bump the PHP version and some dependencies and update as well the codebase.

This is a major overhaul and would need to release v2. I'm currently on a fix.

murugappanrm commented 2 weeks ago

Ok please advise when ready. Thank you.