Next.js Discord

Discord Forum

how to know what generated the static js file?

Unanswered
`${ViNoS}` posted this in #help-forum
Open in Discord
Avatar
is there a way to keep a map to the original js files ?
i am using next with ts, using a MUI template and i have an error that happens to my client from time to time, i have the error stack, but can't do much with it

4 Replies

Avatar
here is the file shown in the error stack
Image
Avatar
nvm, upgrading next version from ^14.2.4 to ^14.2.11 solved my issue
Avatar
ugh, seems like it's still hapenning
just less frequently
Avatar
heya, you might want to consider using something like sentry to log and better understand your errors, i myself wouldn't be able to understand anything just from the stacktrace of a production build