-
-
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
'dsn' does not exist in type 'BaseNodeOptions'. Fastify #14627
Comments
Same here with NestJS |
Hi, thanks for writing in! We'll take a look today. |
Actually one question: Is anyone of you importing (types) from other packages like |
In addition, please check if all your installed Update: I created a fastify sample project with typescript and could not reproduce this issue. At this time I'm fairly certain that this is a dependency version mismatch error. Adding the We will not continue investigating this for now until we hear back from affected users. |
Thanks for the super quick response. This is fixed now in @sentry/node 8.43.0 released a few hours ago |
Thanks for the update! #14576 might have had something to do with it. Glad it works now! |
Is there an existing issue for this?
How do you use Sentry?
Sentry Saas (sentry.io)
Which SDK are you using?
@sentry/node
SDK Version
8.42.0
Framework Version
No response
Link to Sentry event
No response
Reproduction Example/SDK Setup
No response
Steps to Reproduce
Currently using @sentry/node 8.40.0 for a fastify / typescript project using latest of all packages. When I do "yarn upgrade" to update to @sentry/node 8.42.0, i see an error when using tsc to compile
My src/sentry.ts contains
which works with 8.40.0 and does not with 8.42.0.
Expected Result
Upgrading from a minor version to a subsequent minor version should not break code.
Your docs https://docs.sentry.io/platforms/javascript/guides/fastify/ say 'dsn' is still the correct thing to use
Actual Result
Compile fail as above
The text was updated successfully, but these errors were encountered: