Replies: 3 comments 2 replies
-
In what way did it not work in production mode? |
Beta Was this translation helpful? Give feedback.
1 reply
-
|
Beta Was this translation helpful? Give feedback.
1 reply
-
I can say more - instrumentation-client.ts - does not run in SRC folder. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Summary
Hey folks, I'm fairly new to this node stack. In trying to set up Sentry's Next.js integration, it worked fine in development (
next dev
), but not in production mode (next start
).If I move the file to the project root,
next start
does load it. Any ideas why?Additional information
https://nextjs.org/docs/app/api-reference/file-conventions/instrumentation
Based on this, I did confirm that the
instrumentationHook
experiment is indeed showing enabled.Beta Was this translation helpful? Give feedback.
All reactions