-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Could not find a declaration file for module '@sentry/node' #4744
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
Comments
Hey thanks for reporting, we are taking a look! |
It seems related to #4724 |
@bonesoul we changed where we store the type definitions in the package. Could you provide information
|
@lforst Same issues with @sentry/react. Using a tsconfig file and using Sentry.init within the ts file to initialise sentry |
@lforst On a fresh typescript package, after running |
Hi everyone, we've identified the issue and we're working on a fix. This unfortunately affects most of the JS SDKs. We'll release a patch ASAP. |
Hi everyone! We just published a patch for the package (6.19.1). Please let us know if updating to the newest version fixes the issue for you! |
Yes, 6.19.1 fixed it for us. Thank you very much. |
Looks like it is working. Thanks! |
Is there an existing issue for this?
How do you use Sentry?
Sentry Saas (sentry.io)
Which package are you using?
@sentry/node
SDK Version
6.19.0
Framework Version
No response
Link to Sentry event
No response
Steps to Reproduce
updated to 6.19.0 and now missing typescript definitions;
Error: src/lib/sentry.ts(7,25): error TS7016: Could not find a declaration file for module '@sentry/node'. '/home/runner/work/vizesizgezi.com/vizesizgezi.com/tasks/node_modules/@sentry/node/dist/index.js' implicitly has an 'any' type.
Expected Result
definitions.
Actual Result
none
The text was updated successfully, but these errors were encountered: