Replies: 4 comments 5 replies
|
Hey there, During your build process, the code is being transpiled by your loader to commonJS. Are you uploading source maps? If they are configured properly, you will get your original source code in the stack trace. |
2 replies
|
Thank you for response. I used next.config.js Then after building the project source maps were sent to sentry with: But result is exactly the same. I don't see original code, but generated code. |
0 replies
|
FYI: |
2 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.
Sentry displays generated JavaScript code instead of original code.
Here is report in Sentry:

Here is my original code:

I set Sentry's Next.js through wizard with
npx @sentry/wizard -i nextjs.Then I had to update next.config.js for the needs of the project. This is my next.config.js
I am using:
What can be root cause of wrong Sentry report? Appreciate any help.
All reactions