Publishing previously functioning websites is no longer possible. I only get the 404 error, even when I revert to versions that worked before. Does anyone have the same problem?
I have a site that’s had a 404 error for WEEKS. I’ve asked Gemini several times, in several ways to find a fix. I’ve gotten my code into Perplexity, and even that isn’t helping with fixes. Gemini eventually told me to clear my Next.js cache. After restarting the project, I got an “Internal Server Error”. Then Gemini made some changes, and back to the 404 error. I’m getting no where, after getting my (relatively complex website) about 80% complete. ![]()
I have a fix.. but you may not like it…
- Export your project to Github
- Download the zip from github
- Start a new project from a repo
- Select your zip file
- You will get an error in the code view
- Click the 3-hash in the top left (often called a “hamburger menu”)
- Click View > Terminal
- Run npm install
- Confirm any prompts, and run the ‘– force’ command it offers you
- Restart your project
My weeks (almost months) long 404 errors are now gone.
Potential issue: You will not get the same familiar ‘Prototyper’ view, and will be stuck in code view. You can still use Gemini (I would recommend clicking the drop-down in Gemini and changing it from Agent to Agent (Auto-run), else you will need to accept the code changes.
It feels faster than Prototyper, IMO, but again, you lose the familiar interface.
Maybe this helps?