-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Opentelemetry api npm peer dep broken with strict pnpm #13219
Comments
Hey, this is weird, because the mongodb instrumentation has this depednency: |
I could not consistently reproduce following my instructions as I had expected. The only workaround I could find was to delete the In any case this is a bug in pnpm and not sentry. |
I am also experiencing this. With version |
I am also seeing this with version
This seems like a problem here since
The peer dep is specified allowing semver minor ranges, except since this is a |
Seems like an oversight in #13587. |
Sorry about that, we'll get this resolved as quickly as we can. I opened a PR for it #13640 |
…t and opentelemetry (#13640) Looks like we overlooked two packages when updating deps previously in #13587. See: #13587 (comment) Closes: #13219
Fix released with https://github.com/getsentry/sentry-javascript/releases/tag/8.30.0 - thanks for your patience |
This has happened again with version |
@lenovouser sorry about that. We used Dependabot and bumped deps here #14174 but alas it didn't catch everything. I pushed a fix for this and we'll release a patch. We're thinking of a way to catch these in e2e tests. |
The fix has been released with |
Is there an existing issue for this?
How do you use Sentry?
Self-hosted/on-premise
Which SDK are you using?
@sentry/node
SDK Version
8.22.0
Framework Version
No response
Link to Sentry event
No response
Reproduction Example/SDK Setup
No response
Steps to Reproduce
.npmrc
(despite this originally being for npm, pnpm stores its own config options in this file):package.json
:pnpm install
Tested with pnpm 9.6.0.
Expected Result
Correct peer deps versions and successful installation with the
strict-peer-dependencies
setting enabled.Perhaps the
@opentelemetry/api
version from@sentry/node
should be downgraded, or maybe the@opentelemetry/instrumentation-mongodb
can be upgraded.The pnpm setting
strict-peer-dependencies
is not enabled by default and I could set it to false. But it seems like a bug to have potential version mismatch.Actual Result
Result:
The text was updated successfully, but these errors were encountered: