Next.js Discord

Discord Forum

Is this just me?? Logs on console for aren't clickable and are prepended with `webpack-internal`

Unanswered
American Sable posted this in #help-forum
Open in Discord
American SableOP
Is this how nextjs is or is it just my project? When there are errors on either server side or client side, logs/stack traces are formatted like this: (webpack-internal:///(rsc)/./app/ or like how the picture I've attached (screenshot from vscode terminal).

Am I missing a config with source maps or something? I feel like I should be able to click on the file and have it take me to it in the editor like other nodejs projects

3 Replies

Silver Fox
Does the behavior change when running with Turbopack?
@Silver Fox Does the behavior change when running with Turbopack?
American SableOP
No it works as expected with turbopack, but I can't use turbopack because I get this error: https://github.com/vercel/turborepo/discussions/8691
But the errors are properly formatted and stack trace has clickable links