#Next.js Sourcemaps not being found

4 messages · Page 1 of 1 (latest)

royal sapphire
#

Hello --

I'm trying to trace down why our source maps aren't being found in Sentry.

In the issue UI, the path is showing as:
site)/chat/%5B%5B...conversationId%5D%5D/page-0d38c068f58c7845.js

In the artifacts, I can see the source map for this file is here:
~/_next/static/chunks/app/(site)/chat/[[...conversationId]]/page-0d38c068f58c7845.js
~/_next/static/chunks/app/(site)/chat/[[...conversationId]]/page-0d38c068f58c7845.js.map

It appears that the foldering support in vercel / next.js is causing it to be unable to find that map?

royal sapphire
#

I moved the files out of the (site) directory and the sourcemaps work now. Looks like there's an issue with pathing.

autumn cipher
#

hmm

#

thanks for raising, I'll look into it.