Replies: 2 suggested answers 3 replies
{{editor}}'s edit
{{editor}}'s edit
-
Are you using dynamic routing? I would check your https://nextjs.org/docs/api-reference/next/link#dynamic-routes |
Beta Was this translation helpful? Give feedback.
-
Update: changed the Link component as such:
And that removed 99% of the console errors. followed this guide: https://www.loudnoises.us/solving-next-static-pages-js-404-not-found/ However, there's still one lingering |
Beta Was this translation helpful? Give feedback.
{{editor}}'s edit
{{editor}}'s edit
-
Hey all,
I'm working on a little Pokedex project here
And while my local version works fine, my prod build seems to log a ton of 404's that point to some strange .js files in chrome devtools Application > Frames > other. It looks like these js files are being generated from the fetched images, but I'm not sure how or why.
The behavior is also inconsistent. Sometimes it logs
GET https://pokedex-7f1t60fsp.vercel.app/_next/static/Oz-Y64TTusNnDeJYbJMjb/pages/pokemon/001.js net::ERR_ABORTED 404
while other times it logs a series ofFailed to load resource: the server responded with a status of 404 ()
Would love any insight/direction here. It's not affecting the app itself to my knowledge, but is driving me crazy.
Beta Was this translation helpful? Give feedback.