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
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:
5.11.1
Description
I updated the SDK from 5.7.0 to 5.11.1 and now I get this error caused by Senty.init()
node_modules/@sentry/core/dist/api.js:9
this._dsnObject = new utils_1.Dsn(dsn);
^
TypeError: utils_1.Dsn is not a constructor
at new API (node_modules/@sentry/core/dist/api.js:9:27)
at HTTPSTransport.BaseTransport (node_modules/@sentry/node/dist/transports/base.js:17:21)
at new HTTPSTransport (node_modules/@sentry/node/dist/transports/https.js:11:28)
at NodeBackend._setupTransport (node_modules/@sentry/node/dist/backend.js:33:16)
at NodeBackend.BaseBackend (node_modules/@sentry/core/dist/basebackend.js:15:32)
at new NodeBackend (node_modules/@sentry/node/dist/backend.js:15:42)
at NodeClient.BaseClient (node_modules/@sentry/core/dist/baseclient.js:49:25)
at new NodeClient (node_modules/@sentry/node/dist/client.js:19:23)
at Object.initAndBind (node_modules/@sentry/core/dist/sdk.js:15:38)
at Object.init (node_modules/@sentry/node/dist/sdk.js:102:12)
...
If you simply updated the packages, remove all node_modules and reinstall them again. npm has a strange tendency to incorrectly resolve updated packages and they are getting out of sync ¯_(ツ)_/¯
Package + Version
@sentry/browser
@sentry/node
raven-js
raven-node
(raven for node)Version:
Description
I updated the SDK from 5.7.0 to 5.11.1 and now I get this error caused by Senty.init()
Setup copied directly from docs:
The text was updated successfully, but these errors were encountered: