Next.js Discord

Discord Forum

Vercel verbose / unminified logs?

Unanswered
Giant panda posted this in #help-forum
Open in Discord
Giant pandaOP
Is there any way to see unminified logs from a vercel deployment? Currently I am looking at a log like this, which is quite difficult to debug. I have a production build on vercel, but could do a preview build or whatever for debugging purposes.

⨯ TypeError: n is not iterable
    at c (/var/task/.next/server/app/api/call/get_peer/route.js:1:1012)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /var/task/node_modules/next/dist/compiled/next-server/app-route.runtime.prod.js:6:41960

2 Replies

Northeast Congo Lion
can you not build locally and try reproduce?
Giant pandaOP
The error was only happening on the remote server. I was able to guess and check my way through debugging, but it was kind of painful