Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 0 additions & 3 deletions docs/platforms/javascript/common/install/esm.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@ Sentry.init({
Adjust the Node.js call for your application to use the [--import](https://nodejs.org/api/cli.html#--importmodule) parameter and point it at `instrument.js`, which contains your `Sentry.init()` code:

```bash
# Note: This is only available for Node v18.19.0 onwards.
node --import ./instrument.mjs app.mjs
```

Expand All @@ -51,8 +50,6 @@ If you're building a Node.js Single Executable Application (SEA) and can't rely
on `--import` or `NODE_OPTIONS`, use the <PlatformLink to="/install/esm-without-import/#nodejs-single-executable-applications">SEA
bootstrap setup</PlatformLink> instead.

We do not support ESM in Node versions before 18.19.0.

## Troubleshooting instrumentation

By default, all packages are wrapped under the hood by
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,6 @@ Sentry.init({
In your ESM application, use the `@sentry/node/preload` hook with `--import` to ensure modules are wrapped early:

```bash
# Note: This is only available for Node v18.19.0 onwards.
node --import @sentry/node/preload app.js
```

Expand Down
2 changes: 1 addition & 1 deletion docs/platforms/javascript/guides/elysia/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ You need:

- A Sentry [account](https://sentry.io/signup/) and [project](/product/projects/)
- An Elysia application (`v1.4.0+`)
- Bun or Node.js 18+ (with [@elysiajs/node](https://elysiajs.com/integrations/node) adapter)
- Bun or Node.js 20.19.0+ (with [@elysiajs/node](https://elysiajs.com/integrations/node) adapter)

<StepConnector selector="h2" showNumbers={true}>

Expand Down
3 changes: 0 additions & 3 deletions docs/platforms/javascript/guides/nestjs/install/esm.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@ Sentry.init({
**Step 2:** Adjust your application's start command to use the [--import](https://nodejs.org/api/cli.html#--importmodule) parameter:

```bash
# Note: This is only available for Node v18.19.0 onwards.
"start": "--import ./instrument.mjs nest start"
```

Expand All @@ -41,8 +40,6 @@ If you can't pass the `--import` flag to the Node.js binary, you can alternative
NODE_OPTIONS="--import ./instrument.mjs" npm run start
```

<Alert>We do not support ESM in Node versions before 18.19.0.</Alert>

## Troubleshooting ESM Instrumentation

By default, all packages are automatically wrapped by
Expand Down
2 changes: 1 addition & 1 deletion docs/platforms/javascript/guides/nitro/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ You need:

- A Sentry [account](https://sentry.io/signup/) and [project](/product/projects/)
- A Nitro application (`3.0.260415-beta` or newer)
- Node.js 18.19.0+
- Node.js 20.19.0+

<StepConnector selector="h2" showNumbers={true}>

Expand Down
1 change: 0 additions & 1 deletion platform-includes/getting-started-node/javascript.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,6 @@ When running your application in ESM mode, use the [--import](https://nodejs.org
<SplitSectionCode>

```bash
# Note: This is only available for Node v18.19.0 onwards.
node --import ./instrument.mjs app.mjs
```

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,4 @@ You need:

- A Sentry [account](https://sentry.io/signup/) and [project](/product/projects/)
- Your application up and running
- Node version `18.0.0` or above (>= `19.9.0` or `18.19.0` recommended)

<Expandable title="Are you using Node version < 18.19.0 or < 19.9.0?">
The required Node version will increase in the next major release of the SDK (v11) to support features that rely on [`TracingChannel`](https://nodejs.org/api/diagnostics_channel.html#class-tracingchannel).

- We strongly recommend upgrading to at least Node `18.19.0` or `19.9.0` to get the best support.
- While we may add features relying on `TracingChannel` in v10.x releases, they will have backwards compatibility for older Node versions.

See the following [issue on GitHub](https://github.com/getsentry/sentry-javascript/issues/17585) for more details.
</Expandable>
- Node version `20.19.0` or above. Node.js 22 needs `22.12` or higher, while Node.js 23 needs `23.2` or higher (`>=20.19.0 <22.0.0 || >=22.12.0 <23.0.0 || >=23.2.0`).
1 change: 0 additions & 1 deletion platform-includes/getting-started-run/javascript.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
node --require ./instrument.js app.js

# If you are using ECMAScript Modules (ESM)
# Note: This is only available for Node v18.19.0 onwards.
node --import ./instrument.mjs app.mjs
```

Expand Down
Loading