Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[error msg] add hybrid option to a getStaticPaths error message #8120

Merged
merged 1 commit into from
Aug 17, 2023

Conversation

sarah11918
Copy link
Member

Changes

We received a comment that one of our older (pre-hybrid rendering) error messages only suggests switching to server as a solution.

This adds the option to set hybrid rendering to the error message:

Alternatively, set `output: "server"` or `output: "hybrid"` in your Astro config file to switch to a non-static server build. This error can also occur if using `export const prerender = true;`.

Testing

No tests; docs.

Docs

All docs!

@sarah11918 sarah11918 requested a review from a team as a code owner August 17, 2023 19:12
@changeset-bot
Copy link

changeset-bot bot commented Aug 17, 2023

⚠️ No Changeset found

Latest commit: d516198

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@github-actions github-actions bot added the pkg: astro Related to the core `astro` package (scope) label Aug 17, 2023
@sarah11918 sarah11918 merged commit 442f946 into main Aug 17, 2023
@sarah11918 sarah11918 deleted the sarah11918-error-message branch August 17, 2023 19:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pkg: astro Related to the core `astro` package (scope)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants