docs: improve prerender error message (#64154)
Based on customer feedback --------- Co-authored-by: JJ Kasper <jj@jjsweb.site>
This commit is contained in:
parent
42f8ac16c6
commit
83bd0f43e1
1 changed files with 1 additions and 0 deletions
|
@ -15,3 +15,4 @@ While prerendering a page an error occurred. This can occur for many reasons fro
|
|||
- 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](/docs/pages/api-reference/functions/get-static-paths#fallback-false)
|
||||
- Make sure you are not trying to export (`output: 'export'` or `next export`) pages that have server-side rendering enabled [`getServerSideProps`](/docs/pages/building-your-application/data-fetching/get-server-side-props)
|
||||
- If necessary, you can [disable server-side rendering](/docs/pages/building-your-application/optimizing/lazy-loading#with-no-ssr) for a specific component that may be attempting to use browser APIs like `window`
|
||||
|
|
Loading…
Reference in a new issue