Started having issues later this afternoon (EST) after committing some changes then all of a sudden started getting 404 errors across the Prototyper and Project IDX (code view) web consoles. They are showing 404 - This page could not be found.
I even tried to setup a minimal project and load it with the same results:
minimal-test{dev}$ npm run dev
> test-runner@0.1.0 dev
> next dev
▲ Next.js 14.2.29
- Local: http://localhost:3000
- Environments: .env.local, .env
✓ Starting...
✓ Ready in 6.1s
○ Compiling /_not-found ...
✓ Compiled /_not-found in 33.2s (479 modules)
GET / 404 in 33244ms
Within my code view Gemini Prompt, it’s stating the following:
The fact that a fresh, minimal Next.js project with the correct App Router structure fails to load the root path suggests something outside of your project’s control is interfering with the routing.
While I don’t have direct insight into the internal workings of the Project IDX environment or the ability to diagnose environment-specific issues, here are some potential areas where the problem could lie:
** Project IDX’s routing or proxy layer: There might be a configuration or issue within Project IDX’s infrastructure that is incorrectly handling or blocking requests to the root path of Next.js applications.*
** Environment-specific build or serving quirks: There could be nuances in how Project IDX builds or serves Next.js applications that are not standard and are causing this issue.*
** Resource limitations or container issues: In rare cases, underlying container or resource limitations in the environment could manifest in unexpected ways, including routing problems.*
At this point, since we’ve exhausted the standard troubleshooting steps for a Next.js 404 and the issue persists in a minimal project, I recommend the following:
Contact Project IDX Support: This seems to be an environment-specific issue that requires assistance from the Project IDX support team. Provide them with the details of the problem, the steps you’ve taken (including creating the minimal project and confirming the 404 there), and the error messages you are seeing.
They will have the necessary tools and knowledge to investigate potential environment-level causes for this routing problem.
I apologize that I couldn’t resolve this issue directly. My capabilities are focused on code and project configuration within the IDE, and this appears to be an infrastructure-level problem.
*Please reach out to Project IDX support, and they should be able to assist you further. *
Anyone have any ideas on this by chance?