Skip to content

Commit e0e6c48

Browse files
authored
docs(js): Add permalink to troubleshooting links
1 parent f08bc8e commit e0e6c48

File tree

1 file changed

+2
-2
lines changed
  • docs/platforms/javascript/common/troubleshooting

1 file changed

+2
-2
lines changed

docs/platforms/javascript/common/troubleshooting/index.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -459,7 +459,7 @@ Learn more about fixing these caching issues in the <PlatformLink to="/sourcemap
459459
</PlatformSection>
460460
461461
<PlatformSection supported={['javascript.nuxt']}>
462-
<Expandable title="Failed to register 'import-in-the-middle' during build time">
462+
<Expandable permalink title="Failed to register 'import-in-the-middle' during build time">
463463
After adding `sentry.server.config.ts` and building the project, you might get an error like this:
464464
`Failed to register ESM hook import-in-the-middle/hook.mjs`. You can add an override (npm/pnpm) or a resolution (yarn)
465465
for `@vercel/nft` to fix this. This will add the `hook.mjs` file to your build output. See the [underlying issue in the UnJS Nitro project](https://github.com/unjs/nitro/issues/2703).
@@ -490,7 +490,7 @@ Learn more about fixing these caching issues in the <PlatformLink to="/sourcemap
490490
491491
</Expandable>
492492
493-
<Expandable title="pnpm dev: Cannot find package 'import-in-the-middle'">
493+
<Expandable permalink title="pnpm dev: Cannot find package 'import-in-the-middle'">
494494
495495
Sentry injects `import "import-in-the-middle/hook.mjs"` in your server entry. This import acts as a hint for node bundlers to really include this file.
496496
As pnpm implements a strict dependency isolation, this import might cause problems.

0 commit comments

Comments
 (0)