File tree 1 file changed +14
-2
lines changed
1 file changed +14
-2
lines changed Original file line number Diff line number Diff line change @@ -75,7 +75,7 @@ Sentry.init({
75
75
76
76
### 4. Server-side setup
77
77
78
- Add an ` sentry.client .config.ts ` file to the root of your project:
78
+ Add a ` sentry.server .config.ts ` file to the root of your project:
79
79
80
80
``` javascript
81
81
import * as Sentry from ' @sentry/nuxt' ;
@@ -137,16 +137,28 @@ When adding `sentry.server.config.ts`, you might get an error like this:
137
137
for ` @vercel/nft ` to fix this. This will add the ` hook.mjs ` file to your build output
138
138
([ Nitro issue here] ( https://github.com/unjs/nitro/issues/2703 ) ).
139
139
140
+ For ` npm ` :
141
+
140
142
``` json
141
143
"overrides" : {
142
144
"@vercel/nft" : " ^0.27.4"
143
145
}
144
146
```
145
147
146
- or in ` yarn ` :
148
+ for ` yarn ` :
147
149
148
150
``` json
149
151
"resolutions" : {
150
152
"@vercel/nft" : " ^0.27.4"
151
153
}
152
154
```
155
+
156
+ or for ` pnpm ` :
157
+
158
+ ``` json
159
+ "pnpm" : {
160
+ "overrides" : {
161
+ "@vercel/nft" : " ^0.27.4"
162
+ }
163
+ }
164
+ ```
You can’t perform that action at this time.
0 commit comments