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

Not able to install due to broken dependencies #80

Open
lookatitude opened this issue Apr 22, 2024 · 0 comments
Open

Not able to install due to broken dependencies #80

lookatitude opened this issue Apr 22, 2024 · 0 comments

Comments

@lookatitude
Copy link

lookatitude commented Apr 22, 2024

I'm having an issue trying to install @versel/otel both with npm install @versel/otel or inside the pipeline with npm ci.

here is an example of the error:

npm ERR! Found: @opentelemetry/api-logs@0.49.1
npm ERR! node_modules/@opentelemetry/api-logs
npm ERR!   @opentelemetry/api-logs@"^0.4[9](https://github.com/*************/actions/runs/8784239706/job/24102065468?pr=182#step:5:10).1" from @azure/monitor-opentelemetry@1.3.0
npm ERR!   node_modules/@azure/monitor-opentelemetry
npm ERR!     @azure/monitor-opentelemetry@"^1.3.0" from the root project
npm ERR!   @opentelemetry/api-logs@"0.49.1" from @opentelemetry/instrumentation@0.49.1
npm ERR!   node_modules/@opentelemetry/instrumentation
npm ERR!     @opentelemetry/instrumentation@"^0.49.1" from @azure/monitor-opentelemetry@1.3.0
npm ERR!     node_modules/@azure/monitor-opentelemetry
npm ERR!       @azure/monitor-opentelemetry@"^1.3.0" from the root project
npm ERR!     @opentelemetry/instrumentation@"^0.49.1" from @opentelemetry/instrumentation-bunyan@0.36.0
npm ERR!     node_modules/@opentelemetry/instrumentation-bunyan
npm ERR!       @opentelemetry/instrumentation-bunyan@"^0.36.0" from @azure/monitor-opentelemetry@1.3.0
npm ERR!       node_modules/@azure/monitor-opentelemetry
npm ERR!         @azure/monitor-opentelemetry@"^1.3.0" from the root project
npm ERR!     7 more (@opentelemetry/instrumentation-http, ...)
npm ERR!   4 more (@opentelemetry/instrumentation-bunyan, ...)
npm ERR! 
npm ERR! Could not resolve dependency:
npm ERR! @vercel/otel@"latest" from the root project
npm ERR! 
npm ERR! Conflicting peer dependency: @opentelemetry/api-logs@0.46.0
npm ERR! node_modules/@opentelemetry/api-logs
npm ERR!   peer @opentelemetry/api-logs@"^0.46.0" from @vercel/otel@1.8.1
npm ERR!   node_modules/@vercel/otel
npm ERR!     @vercel/otel@"latest" from the root project
npm ERR! 
npm ERR! Fix the upstream dependency conflict, or retry
npm ERR! this command with --force or --legacy-peer-deps
npm ERR! to accept an incorrect (and potentially broken) dependency resolution.

react and next version:

    "next": "13.4.19",
    "next-i18next": "^15.2.0",
    "pdf-parse": "^1.1.1",
    "react": "18.2.0",
    "react-dom": "18.2.0",

Inside the CI pipeline it run on node as 18.17
locally on node 21

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

1 participant