You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Seems that the export command was not tested with the NextJS template.
The "next export" command has been removed in favor of "output: export" in next.config.js. Learn more: https://nextjs.org/docs/advanced-features/static-html-export
This was a breaking change in the upgrade from 13.4 -> 14.0. Adding in output: 'export' to next.config.js does not fix the issue either. It will then break here Error occurred prerendering page "/examples". Read more: https://nextjs.org/docs/messages/prerender-error Error: Error for page /examples: pages with getServerSideProps can not be exported. See more info here: https://nextjs.org/docs/messages/gssp-export
Version Affected: 1.8.0 (believe even back to 1.6.0)
Date attempted: 2/Oct/2024
Template: NextJs with Rescript 11.1.4 and Rescript Core 1.6.0
OS: MacOS (seems should be irrelevant)
Seems that the export command was not tested with the NextJS template.
The "next export" command has been removed in favor of "output: export" in next.config.js. Learn more: https://nextjs.org/docs/advanced-features/static-html-export
This was a breaking change in the upgrade from 13.4 -> 14.0. Adding in
output: 'export'
to next.config.js does not fix the issue either. It will then break hereError occurred prerendering page "/examples". Read more: https://nextjs.org/docs/messages/prerender-error Error: Error for page /examples: pages with
getServerSidePropscan not be exported. See more info here: https://nextjs.org/docs/messages/gssp-export
Version Affected: 1.8.0 (believe even back to 1.6.0)
Date attempted: 2/Oct/2024
Template: NextJs with Rescript 11.1.4 and Rescript Core 1.6.0
OS: MacOS (seems should be irrelevant)
Commit that introduced issue: 751f8b5
The text was updated successfully, but these errors were encountered: