-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Closed
Labels
Package: nodeIssues related to the Sentry Node SDKIssues related to the Sentry Node SDK
Description
- Review the documentation: https://docs.sentry.io/
- Search for existing issues: https://github.com/getsentry/sentry-javascript/issues
- Use the latest release: https://github.com/getsentry/sentry-javascript/releases
- Provide a link to the affected event from your Sentry account
Package + Version
-
@sentry/browser -
@sentry/node -
raven-js -
raven-node(raven for node) - other:
Version:
6.6.0 and 6.7.0
Description
Updating @sentry/node from 6.5.1 to 6.6.0 or current latest 6.7.0 in Typescript projects breaks the compilation with the following two errors:
node_modules/@sentry/node/dist/transports/base/http-module.d.ts:2:8 - error TS1192: Module '"http"' has no default export.
2 import http, { IncomingHttpHeaders } from 'http';
~~~~
node_modules/@sentry/node/dist/transports/base/http-module.d.ts:3:8 - error TS1192: Module '"https"' has no default export.
3 import https from 'https';
~~~~~
Found 2 errors.
We are using the latest @types/node (currently 15.12.2).
The only related change I see in the changelog is the abstraction created for the HTTP transport:
[node] ref: Make HTTPModule more abstract to be able to use it in non-Node.JS environments (#3655)
Metadata
Metadata
Assignees
Labels
Package: nodeIssues related to the Sentry Node SDKIssues related to the Sentry Node SDK