The White Rabbit

Dress for the job you want, not the job you have.

Tag: nextjs-13

See the content related to nextjs-13...

Tuesday, 2 May 2023

[SOLVED] Error: Failed to collect page data for /[variable]

If you encounter the error 'Failed to collect page data for /[variable]' when you deploy your Next.js app on Vercel, it means that your app is trying to generate a page for a dynamic route but it fails. Here's how I fixe this error.

nextjs-13 build