Skip to content

Commit 638622f

Browse files
committed
only show single code block
1 parent fb0a548 commit 638622f

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

platform-includes/getting-started-node/javascript.mdx

+6-4
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@ Don't already have an account and Sentry project established? Head over to [sent
1010

1111
Sentry captures data by using an SDK within your application’s runtime. This means that you have to add `@sentry/node` as a runtime dependency to your application:
1212

13+
<OnboardingOption optionId="profiling" hideForThisOption>
14+
1315
```bash {tabTitle:npm}
1416
npm install --save @sentry/node
1517
```
@@ -18,16 +20,16 @@ npm install --save @sentry/node
1820
yarn add @sentry/node
1921
```
2022

21-
<OnboardingOption optionId="profiling">
23+
</OnboardingOption>
2224

23-
You also have to install the profiling-node package:
25+
<OnboardingOption optionId="profiling">
2426

2527
```bash {tabTitle:npm}
26-
npm install --save @sentry/profiling-node
28+
npm install --save @sentry/node @sentry/profiling-node
2729
```
2830

2931
```bash {tabTitle:Yarn}
30-
yarn add @sentry/profiling-node
32+
yarn add @sentry/node @sentry/profiling-node
3133
```
3234

3335
</OnboardingOption>

0 commit comments

Comments
 (0)