Skip to content

Cannot install on MacOS as composer dependency or via cloning and composer install #839

Description

@crocash-dev

Not sure whether this is a bug with your software or not, but I keep get this error when cloning and 'composer install':

No composer.lock file present. Updating dependencies to latest instead of installing from lock file. See https://getcomposer.org/install for more information.
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 php ^7.0 but your php version (8.5.5) does not satisfy that requirement.
Problem 2
- Root composer.json requires phpunit/phpunit ^6.3, found phpunit/phpunit[6.3.0, ..., 6.5.14] but these were not loaded, because they are affected by security advisories ("PKSA-z3gr-8qht-p93v"). Go to https://packagist.org/security-advisories/ to find advisory details. To ignore the advisories, add them to the audit "ignore" config. To turn the feature off entirely, you can set "block-insecure" to false in your "audit" config.
Problem 3
- Root composer.json requires phan/phan 1.1.4 -> satisfiable by phan/phan[1.1.4].
- phan/phan 1.1.4 requires php ^7.0.0 -> your php version (8.5.5) does not satisfy that requirement.
Problem 4
- Root composer.json requires phpdocumentor/reflection-docblock ^4.0.0 -> satisfiable by phpdocumentor/reflection-docblock[4.0.0, ..., 4.3.4].
- phpdocumentor/reflection-docblock[4.0.0, ..., 4.3.4] require php ^7.0 -> your php version (8.5.5) does not satisfy that requirement.

And this error when I attempt the 'composer require felixfbecker/language-server' method:

Cannot use felixfbecker/language-server's latest version v5.4.6 as it requires php ^7.0 which is not satisfied by your platform.

As you can see from the first error, I have PHP 8.5.5 installed and composer is aware and using this version. Any ideas why I can't install?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions