Skip to content

Localhost console fails to show bad paths while VERCEL does throw the error. #1292

@T342guy

Description

@T342guy

Hey all! While I was writing this bug report, apparently I found out that I had a bad link that had the name in the dir twice.
I made this bug report since it was slowing down my builds, plus It was confusing that the localhost console never threw this error.

If yall could make the localhost console throw the error, that would be pretty awesome :>

My vercel logs

[info] ✓ built in 12.68s
[success] Client built in 12704ms
[warn] 
(!) Some chunks are larger than 500 kB after minification. Consider:
- Using dynamic import() to code-split the application
- Use build.rollupOptions.output.manualChunks to improve chunking: https://rollupjs.org/configuration-options/#output-manualchunks
- Adjust chunk size limit for this warning via build.chunkSizeWarningLimit.
[info] Building server...
[info] vite v7.3.1 building ssr environment for production...
[info] transforming...
[info] ✓ 551 modules transformed.
[info] rendering chunks...
[info] ✓ built in 7.35s
[success] Server built in 7392ms
[info] [nitro] Initializing prerenderer
[info] [nitro] Prerendering 6 initial routes with crawler
[log] [nitro]   ├─ /llms.txt (1483ms)
[log] [nitro]   ├─ /llms-full.txt (1483ms)
[log] [nitro]   ├─ /sitemap.xml (1485ms)
[log] [nitro]   ├─ /__nuxt_content/docs/sql_dump.txt (1487ms)
[log] [nitro]   ├─ /__nuxt_content/landing/sql_dump.txt (1487ms)
[log] [nitro]   ├─ / (1563ms)
[log] [nitro]   ├─ /_payload.json?7c7bb8d9-f5b8-41ed-b714-734369ef9f45 (204ms) (skipped)
[log] [nitro]   ├─ /_payload.json (209ms)
[log] [nitro]   ├─ /raw/intro-to-zharkov/intro-to-zharkov.md (470ms)
[log] [nitro]   ├─ /raw/dictionary/summary.md (470ms)
[log] [nitro]   ├─ /raw/index.md (269ms)
[log] [nitro]   ├─ /raw/dictionary/definitions.md (471ms)
[log] [nitro]   ├─ /__og-image__/static/og.png (474ms)
[log] [nitro]   ├─ /dictionary/summary (507ms)
[log] [nitro]   ├─ /dictionary/summary/_payload.json?7c7bb8d9-f5b8-41ed-b714-734369ef9f45 (95ms) (skipped)
--> [error] [request error] [fatal] [GET] http://localhost/dictionary/definitions/definitions <-- This is the error Im talking about.
 Page not found
  at createError (node_modules/h3/dist/index.mjs:71:15)
  at createError (node_modules/.cache/nuxt/.nuxt/prerender/chunks/build/server.mjs:435:21)
  at setup (node_modules/.cache/nuxt/.nuxt/prerender/chunks/build/_...slug_-BIYbN15J.mjs:3089:13)
  [cause]: { statusCode: 404, statusMessage: 'Page not found', fatal: true }
[log] [nitro]   ├─ /intro-to-zharkov/intro-to-zharkov (501ms)
[log] [nitro]   ├─ /intro-to-zharkov/intro-to-zharkov/_payload.json?7c7bb8d9-f5b8-41ed-b714-734369ef9f45 (8ms) (skipped)
[log] [nitro]   ├─ /dictionary/summary/_payload.json (96ms)
[log] [nitro]   ├─ /dictionary/definitions/definitions (159ms) <-- This is also the same page, i have no idea where it got this. And it also DOES NOT EXIST.
  │ ├── [404] Page not found
  │ └── Linked from /dictionary/summary
[log] [nitro]   ├─ /intro-to-zharkov/intro-to-zharkov/_payload.json (8ms)
[log] [nitro]   ├─ /dictionary/definitions (155ms)
[log] [nitro]   ├─ /dictionary/definitions/_payload.json?7c7bb8d9-f5b8-41ed-b714-734369ef9f45 (7ms) (skipped)
[log] [nitro]   ├─ /__og-image__/static/dictionary/summary/og.png (159ms)
[log] [nitro]   ├─ /__og-image__/static/intro-to-zharkov/intro-to-zharkov/og.png (18ms)
[log] [nitro]   ├─ /dictionary/definitions/_payload.json (8ms)
[log] [nitro]   ├─ /__og-image__/static/dictionary/definitions/og.png (9ms)
[info] [nitro] Prerendered 21 routes in 9.758 seconds
[success] [nitro] Generated public .vercel/output/static
[info] [nitro] Building Nuxt Nitro server (preset: `vercel`, compatibility date: `2025-07-14`)
[success] [nitro] Nuxt Nitro server built

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions