#Next links no longer working on vercel deploy

1 messages · Page 1 of 1 (latest)

molten talon
#

Since upgrading from next@12 & react@17 to next@13.3 & react@18.2 our internal linking stopped working on our vercel deploys, but does correctly work on our local next build && next start. The page does correctly load on a hard refresh. What could be the issue here or how to debug it correctly?

real cargoBOT
#

Hi @molten talon. I'm kapa.ai, your friendly support bot. I will try to answer your question by searching through the knowledge base. :wave:

#

Hmm, I don't know enough to give you a confident answer yet. However, you can refer to the Next.js upgrade guide (https://nextjs.org/docs/upgrading) and dynamic routing documentation (https://nextjs.org/docs/routing/dynamic-routes) to ensure your configuration is correct. Additionally, you can check the Vercel troubleshooting guide (https://vercel.com/docs/concepts/deployments/troubleshoot-a-build) for build-related issues.

Note: you can ask me a follow up question by @ mentioning me again :speech_balloon:

Learn how to upgrade Next.js.

Dynamic Routes are pages that allow you to add custom params to your URLs. Start creating Dynamic Routes and learn more here.

Vercel Documentation

Learn how to resolve common scenarios you may encounter during the Build step, including build errors that cancel a deployment and long build times.