question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Deploying new instance of Nextjs Commerce in Vercel fails with 404

See original GitHub issue

Hi,

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: image

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:closed
  • Created 2 years ago
  • Reactions:7
  • Comments:7 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
robearlamcommented, Mar 4, 2022

This was related to the change over to monorepo, looks to have been solved now.

1reaction
dominiksipowiczcommented, Mar 3, 2022

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.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found