Deploying new instance of Nextjs Commerce in Vercel fails with 404
See original GitHub issueHi,
I’ve attempted several times to deploy a new instance of Nextjs Commerce through the Vercel portal, but it fails. The build output looks to be very truncated compared with previous successful deployments I’ve done in the past.
07:56:37.771 | Cloning completed: 798.906ms
07:56:38.035 | Analyzing source code...
07:56:39.501 | Uploading build outputs...
07:56:45.681 | Deploying build outputs...
07:56:55.524 | Done with "."
When accessing the deployed site, I am presented with a 404 error:
You can see the erroring instance I’m trying to access here: https://commerce-fhgww6ugq-robearlam.vercel.app/ The repo used to deploy from is: https://github.com/robearlam/commerce (This is the default cloned code, without any changes)
Thanks!
Issue Analytics
- State:
- Created 2 years ago
- Reactions:7
- Comments:7 (1 by maintainers)
Top Results From Across the Web
NextJS deployed to Vercel: 404 page not found - Stack Overflow
My issue was that I first attempted to deploy Vercel through a team. When I created a new Vercel project under my individual...
Read more >Vercel deployment issue 404: NOT_FOUND when ... - GitHub
I am deploying my apps to Vercel . but got a 404 not found page when I have _middleware.ts on dynamic routes and...
Read more >Dynamic Routes Details - Next.js
The paths that have not been generated at build time will not result in a 404 page. Instead, Next.js will serve a “fallback”...
Read more >Next.js Commerce - Vercel
An all-in-one starter kit for high-performance e-commerce sites. ... With a few clicks, Next.js developers can clone, deploy and fully customize their own ......
Read more >Help deploying app to Surge/Vercel (404 page not found)
Hi, Yesterday I built my first Next.js project and wanted to host it ... follow the url to the site, I get a...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
This was related to the change over to monorepo, looks to have been solved now.
Hi @robearlam @juancamiloqhz Please try using the link https://vercel.com/new and selecting “Next.js Commerce”. It should automatically clone the repository to your GitHub account, choose the integration (or skip provider) and deploy to Vercel automatically with the correct settings.