Skip to content

Commit 85f87e4

Browse files
maximepvrts1gr1d
andauthored
docs(nuxt): update readme troubleshoot section (#14309)
nitrojs/nitro#2703 fixed --------- Co-authored-by: Sigrid Huemer <[email protected]>
1 parent 450684b commit 85f87e4

File tree

1 file changed

+2
-31
lines changed

1 file changed

+2
-31
lines changed

packages/nuxt/README.md

+2-31
Original file line numberDiff line numberDiff line change
@@ -130,35 +130,6 @@ export default defineNuxtConfig({
130130
});
131131
```
132132

133-
## Troubleshooting
133+
## Troubleshoot
134134

135-
When adding `sentry.server.config.ts`, you might get an error like this:
136-
"`Failed to register ESM hook import-in-the-middle/hook.mjs`". You can add an override (npm/pnpm) or a resolution (yarn)
137-
for `@vercel/nft` to fix this. This will add the `hook.mjs` file to your build output
138-
([Nitro issue here](https://github.com/unjs/nitro/issues/2703)).
139-
140-
For `npm`:
141-
142-
```json
143-
"overrides": {
144-
"@vercel/nft": "^0.27.4"
145-
}
146-
```
147-
148-
for `yarn`:
149-
150-
```json
151-
"resolutions": {
152-
"@vercel/nft": "^0.27.4"
153-
}
154-
```
155-
156-
or for `pnpm`:
157-
158-
```json
159-
"pnpm": {
160-
"overrides": {
161-
"@vercel/nft": "^0.27.4"
162-
}
163-
}
164-
```
135+
If you encounter any issues with error tracking or integrations, refer to the official [Sentry Nuxt SDK documentation](https://docs.sentry.io/platforms/javascript/guides/nuxt/). If the documentation does not provide the necessary information, consider opening an issue on GitHub.

0 commit comments

Comments
 (0)