sentry-javascript icon indicating copy to clipboard operation
sentry-javascript copied to clipboard

peerDependencies issues when upgrade NextJS to v8

Open idosun opened this issue 1 year ago • 1 comments

Is there an existing issue for this?

  • [x] I have checked for existing issues https://github.com/getsentry/sentry-javascript/issues
  • [x] I have reviewed the documentation https://docs.sentry.io/
  • [x] I am using the latest SDK release https://github.com/getsentry/sentry-javascript/releases

How do you use Sentry?

Sentry Saas (sentry.io)

Which SDK are you using?

@sentry/nextjs

SDK Version

v7.109.0 --> 8.32.0

Framework Version

nextjs 14.2.3

Link to Sentry event

No response

Reproduction Example/SDK Setup

No response

Steps to Reproduce

npm install..

Expected Result

Sentry SDK should handle installing additional packages

Actual Result

└─┬ @sentry/nextjs 8.32.0 ├─┬ @opentelemetry/instrumentation-http 0.53.0 │ ├── ✕ missing peer @opentelemetry/api@^1.3.0 │ ├─┬ @opentelemetry/core 1.26.0 │ │ └── ✕ missing peer @opentelemetry/api@">=1.0.0 <1.10.0" │ └─┬ @opentelemetry/instrumentation 0.53.0 │ └── ✕ missing peer @opentelemetry/api@^1.3.0 └─┬ @sentry/opentelemetry 8.32.0 ├── ✕ missing peer @opentelemetry/api@^1.9.0 ├── ✕ missing peer @opentelemetry/core@^1.25.1 ├── ✕ missing peer @opentelemetry/instrumentation@^0.53.0 └── ✕ missing peer @opentelemetry/sdk-trace-base@^1.26.0 Peer dependencies that should be installed: @opentelemetry/api@">=1.9.0 <1.10.0" @opentelemetry/instrumentation@^0.53.0
@opentelemetry/core@^1.25.1 @opentelemetry/sdk-trace-base@^1.26.0

idosun avatar Oct 02 '24 17:10 idosun

Hello 👋 Just to make sure that it's not a caching problem (that can happen sometimes on major upgrades): Have you cleared the npm cache with npm cache clean --force and deleted the node_modules before re-installing?

s1gr1d avatar Oct 03 '24 07:10 s1gr1d

This issue has gone three weeks without activity. In another week, I will close it.

But! If you comment or otherwise update it, I will reset the clock, and if you remove the label Waiting for: Community, I will leave it alone ... forever!


"A weed is but an unloved flower." ― Ella Wheeler Wilcox 🥀

getsantry[bot] avatar Nov 23 '24 08:11 getsantry[bot]