[GH-ISSUE #232] Getting 404 in build version #55

Closed
opened 2026-05-06 12:36:52 +02:00 by BreizhHardware · 4 comments

Originally created by @kingRayhan on GitHub (Mar 3, 2026).
Original GitHub issue: https://github.com/cloudflare/vinext/issues/232

I just boot up a fresh Vinext to play with it. It was working in dev, but I was getting 404s in the build version.

https://github.com/user-attachments/assets/e03c7b97-205b-490a-bf19-afebb24bf73c

Originally created by @kingRayhan on GitHub (Mar 3, 2026). Original GitHub issue: https://github.com/cloudflare/vinext/issues/232 I just boot up a fresh Vinext to play with it. It was working in dev, but I was getting 404s in the build version. https://github.com/user-attachments/assets/e03c7b97-205b-490a-bf19-afebb24bf73c
Author
Owner

@WuMingDao commented on GitHub (Mar 3, 2026):

Hi, I to this question for fun, you offect your project link of github?

<!-- gh-comment-id:3991453935 --> @WuMingDao commented on GitHub (Mar 3, 2026): Hi, I to this question for fun, you offect your project link of github?
Author
Owner

@southpolesteve commented on GitHub (Mar 5, 2026):

Will take a look and see if I can reproduce. Haven't tested a ton with Bun yet so might be the issue. Does swapping to node fix it?

<!-- gh-comment-id:4001955642 --> @southpolesteve commented on GitHub (Mar 5, 2026): Will take a look and see if I can reproduce. Haven't tested a ton with Bun yet so might be the issue. Does swapping to node fix it?
Author
Owner

@southpolesteve commented on GitHub (Mar 7, 2026):

Thanks for the report! I tried reproducing this with both Node and Bun across several setups (fresh app with published vinext@0.0.23, monorepo fixtures, App Router, Pages Router) and wasn't able to get 404s in the production build. Everything returned 200 as expected.

To help debug this, could you provide:

  • A git repo that reproduces the problem (ideal, even if it's just a minimal app with a couple pages)
  • Your package.json, vite.config.ts, and next.config.* (if you have one)
  • Bun version (bun --version)
  • OS

A reproducible repo would be the fastest path to figuring this out.

<!-- gh-comment-id:4014983616 --> @southpolesteve commented on GitHub (Mar 7, 2026): Thanks for the report! I tried reproducing this with both Node and Bun across several setups (fresh app with published vinext@0.0.23, monorepo fixtures, App Router, Pages Router) and wasn't able to get 404s in the production build. Everything returned 200 as expected. To help debug this, could you provide: - A git repo that reproduces the problem (ideal, even if it's just a minimal app with a couple pages) - Your `package.json`, `vite.config.ts`, and `next.config.*` (if you have one) - Bun version (`bun --version`) - OS A reproducible repo would be the fastest path to figuring this out.
Author
Owner

@southpolesteve commented on GitHub (Mar 7, 2026):

Closing for now since we can't reproduce. Feel free to reopen if you have a reproduction repo or the additional info mentioned above!

<!-- gh-comment-id:4014988187 --> @southpolesteve commented on GitHub (Mar 7, 2026): Closing for now since we can't reproduce. Feel free to reopen if you have a reproduction repo or the additional info mentioned above!
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/vinext#55
No description provided.