You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Install the newest version of @sentry/node: npm install @sentry/node.
Use tsc to compile the project.
Expected Result
The code can compile cleanly.
Actual Result
With #5004 comes the usage of TextEncoderCommon. This forces us to use the DOM library, which we can't and actually don't want to do.
Error: node_modules/@sentry/types/types/transport.d.ts(15,39): error TS2304: Cannot find name 'TextEncoderCommon'.
Maybe you can find an alternative without using the DOM library. Maybe more packages as a dependency can be a possible way. That would help us a lot to continue using sentry with pleasure. Thanks a lot.
The text was updated successfully, but these errors were encountered:
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
7.0.0
Framework Version
No response
Link to Sentry event
No response
Steps to Reproduce
tsconfig.json
:@sentry/node
:npm install @sentry/node
.tsc
to compile the project.Expected Result
The code can compile cleanly.
Actual Result
With #5004 comes the usage of
TextEncoderCommon
. This forces us to use the DOM library, which we can't and actually don't want to do.Maybe you can find an alternative without using the DOM library. Maybe more packages as a dependency can be a possible way. That would help us a lot to continue using sentry with pleasure. Thanks a lot.
The text was updated successfully, but these errors were encountered: