Closed
Description
Is there an existing issue for this?
- I have checked for existing issues https://github.com/getsentry/sentry-javascript/issues
- I have reviewed the documentation https://docs.sentry.io/
- I am using the latest SDK release https://github.com/getsentry/sentry-javascript/releases
How do you use Sentry?
Sentry Saas (sentry.io)
Which SDK are you using?
@sentry/node
SDK Version
8.0.0
Framework Version
No response
Link to Sentry event
No response
SDK Setup
N/A
Steps to Reproduce
npm init -y
[...]
npm i @sentry/node@7
[...]
node --input-type=module --eval "import Sentry from '@sentry/node'; console.log(Sentry.SDK_VERSION);"
7.114.0
npm i @sentry/node@8
[...]
node --input-type=module --eval "import Sentry from '@sentry/node'; console.log(Sentry.SDK_VERSION);"
file://[snip]/[eval1]:1
import Sentry from '@sentry/node'; console.log(Sentry.SDK_VERSION);
^^^^^^
SyntaxError: The requested module '@sentry/node' does not provide an export named 'default'
at ModuleJob._instantiate (node:internal/modules/esm/module_job:134:21)
at async ModuleJob.run (node:internal/modules/esm/module_job:217:5)
at async ModuleLoader.eval (node:internal/modules/esm/loader:212:24)
at async loadESM (node:internal/process/esm_loader:28:7)
at async handleMainPromise (node:internal/modules/run_main:113:12)
Node.js v20.12.2
Expected Result
Default export continues to exist, or the change is documented as a breaking change in the vb8 migration guide.
Actual Result
Not documented as far as I can tell, and no longer a default export.
Metadata
Metadata
Assignees
Type
Projects
Status
Waiting for: Product Owner