mirror of
https://github.com/hanzoai/next.js.git
synced 2026-09-24 17:00:51 +00:00
This PR removes the duplicate overview link for data fetching, and fixes the corresponding links ## Bug - [ ] Related issues linked using `fixes #number` - [ ] Integration tests added - [ ] Errors have helpful link attached, see `contributing.md` ## Feature - [ ] Implements an existing feature request or RFC. Make sure the feature request has been accepted for implementation before opening a PR. - [ ] Related issues linked using `fixes #number` - [ ] Integration tests added - [ ] Documentation added - [ ] Telemetry added. In case of a feature if it's used or not. - [ ] Errors have helpful link attached, see `contributing.md` ## Documentation / Examples - [ ] Make sure the linting passes by running `yarn lint` Co-authored-by: Lee Robinson <[email protected]> Co-authored-by: JJ Kasper <[email protected]>
962 B
962 B
Prerender Error
Why This Error Occurred
While prerendering a page an error occurred. This can occur for many reasons from adding non-pages e.g. components to your pages folder or expecting props to be populated which are not.
Possible Ways to Fix It
- Make sure to move any non-pages out of the
pagesfolder - Check for any code that assumes a prop is available, even when it might not be
- Set default values for all dynamic pages' props (avoid
undefined, usenullinstead so it can be serialized) - Check for any out of date modules that you might be relying on
- Make sure your component handles
fallbackif it is enabled ingetStaticPaths. Fallback docs - Make sure you are not trying to export (
next export) pages that have server-side rendering enabled (getServerSideProps)