Next.js Discord

Discord Forum

Why is NextJS producing HTTP 404 on TXT files?

Unanswered
quisi.do posted this in #help-forum
Open in Discord
I am deploying a statically generated app via App Router. When I load my app, I can see it trying to load some text files: /_next/static/chunks/HASH-HERE.js.txt, all of which HTTP 404 Not Found.
How do I fix this? Either by correctly producing those TXT files during build or by not requesting them when they don't exist.

1 Reply

Bump on this... No answer here or Reddit. 😿