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

Installation fails with CI Version 4.5.6 #2

Open
murugappanrm opened this issue Oct 23, 2024 · 5 comments
Open

Installation fails with CI Version 4.5.6 #2

murugappanrm opened this issue Oct 23, 2024 · 5 comments

Comments

@murugappanrm
Copy link

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
- Root composer.json requires liaison/revision * -> satisfiable by liaison/revision[v1.0.0, ..., v1.1.0].
- liaison/revision[v1.0.0, ..., v1.1.0] require sebastian/diff ^4.0 -> found sebastian/diff[4.0.0, ..., 4.0.6] but the package is fixed to 5.1.1 (lock file version) by a partial update and that version does not match. Make sure you list it as an argument for the update command.

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
- Root composer.json requires liaison/revision * -> satisfiable by liaison/revision[v1.0.0, ..., v1.1.0].
- liaison/revision[v1.0.0, ..., v1.1.0] require sebastian/diff ^4.0 -> found sebastian/diff[4.0.0, ..., 4.0.6] but the package is fixed to 5.1.1 (lock file version) by a partial update and that version does not match. Make sure you list it as an argument for the update command.

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
Copy link
Owner

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

@murugappanrm
Copy link
Author

murugappanrm commented Oct 24, 2024

@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
Copy link
Owner

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
Copy link
Author

Ok please advise when ready. Thank you.

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

3 participants
@paulbalandan @murugappanrm and others