#404 in next14
8 messages · Page 1 of 1 (latest)
🔎 This post has been indexed in our web forum and will be seen by search engines so other users can find it outside Discord
🕵️ Your user profile is private by default and won't be visible to users outside Discord, if you want to be visible in the web forum you can add the "Public Profile" role in id:customize
✅ You can mark a message as the answer for your post with Right click -> Apps -> Mark Solution
(if you don't see the option, try refreshing Discord with Ctrl + R)
Try clearing nextJs cache by deleting .next file in your dir then run or build
yep I tried doing that. it would always start out with /404 before anything. not too sure how to debug this
○ Compiling /404 ...
✓ Compiled /404 in 10.4s (7428 modules)
GET /404 404 in 41280ms
GET /_next/webpack-hmr 404 in 42773ms
GET /_next/static/webpack/84d4a1b73db6a181.webpack.hot-update.json 404
GET /_next/static/chunks/pages/types.js.map 404 in 49ms
○ Compiling /view...
✓ Compiled /view in 3.1s (8000 modules)
Umm try checking ur custom 404 page or middleware
yep it looks like it is something related to my custom 404 page. I removed them and the errors went away. I will look into it a bit more, thanks!
hmm I deleted them, but I occassionally run into it still. _error is the default nextjs error page :/
○ Compiling /_error ...
✓ Compiled /_error in 18.3s (7425 modules)
GET /_next/webpack-hmr 404 in 19683ms
GET /_next/static/webpack/242cd092558f4275.webpack.hot-update.json 404 in 87ms
Ig its due to your custom error components can i have a look to your code