Skip to content

Conversation

moeyashi
Copy link

@moeyashi moeyashi commented Nov 22, 2023

An error occurred when performing composer install.
So I upgraded the dependencies.

Error

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 open-telemetry/opentelemetry ~0.0.9, found open-telemetry/opentelemetry[dev-main, 1.0.0beta, 1.0.0beta1, 1.0.0] but it does not match the constraint.

How I fixed

  1. I changed "open-telemetry/opentelemetry": "~0.0.9" to "open-telemetry/opentelemetry": "~1.0.0".
  2. Re ran composer install.
  3. I inputted y for Do you trust "php-http/discovery" to execute code and wish to enable it now? (writes "allow-plugins" to composer.json) [y,n,d,?].
  4. I ran ./vendor/bin/phpunit tests, and it was successful.

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

Successfully merging this pull request may close these issues.

1 participant