Next.js Discord

Discord Forum

Could not find source map in .next\server\vendor-chunks\

Unanswered
Pacific anchoveta posted this in #help-forum
Open in Discord
Pacific anchovetaOP
Getting this error when trying to debug a route handler and a request comes in:

Could not read source map for file:///C:/Users/James%20Earthman/Desktop/Projects/oliver-street/.next/server/vendor-chunks/next@14.2.5_@babel+core@7.24.8_react-dom@18.3.1_react@18.3.1__react@18.3.1.js: ENOENT: no such file or directory, open 'c:\Users\James Earthman\Desktop\Projects\oliver-street.next\server\vendor-chunks\render-from-template-context.js.map'

That seems like a strangely long name for a /vendor-chunks file. render-from-template-context.js.map is indeed missing. I'm using pnpm build to build to project. I've tried deleting .next and rebuilding but issue persists. Any idea what is going on?

0 Replies