From fa3c5244d67b55f724809213a435a9ad71bc2f23 Mon Sep 17 00:00:00 2001 From: Gergo Tolnai Date: Sat, 6 Mar 2021 21:34:29 +0100 Subject: [PATCH] Update prerender-error.md --- errors/prerender-error.md | 1 + 1 file changed, 1 insertion(+) diff --git a/errors/prerender-error.md b/errors/prerender-error.md index 26f5a03e14201..77e564fd683f6 100644 --- a/errors/prerender-error.md +++ b/errors/prerender-error.md @@ -9,3 +9,4 @@ While prerendering a page an error occurred. This can occur for many reasons fro - Make sure to move any non-pages out of the `pages` folder - Check for any code that assumes a prop is available even when it might not be. e.g., have default data for all dynamic pages' props. - Check for any out of date modules that you might be relying on +- Make sure your component handles `fallback` if it is enabled in `getStaticPaths`. [Fallback docs](https://nextjs.org/docs/basic-features/data-fetching#the-fallback-key-required)