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

Pre-rendering error on dynamic routes with “hybrid” output #7140

Closed
1 task
carlcs opened this issue May 19, 2023 · 0 comments · Fixed by #7150
Closed
1 task

Pre-rendering error on dynamic routes with “hybrid” output #7140

carlcs opened this issue May 19, 2023 · 0 comments · Fixed by #7150
Assignees
Labels
- P5: urgent Fix build-breaking bugs affecting most users, should be released ASAP (priority)

Comments

@carlcs
Copy link

carlcs commented May 19, 2023

What version of astro are you using?

2.5.0

Are you using an SSR adapter? If so, which one?

Vercel

What package manager are you using?

yarn

What operating system are you using?

Mac

What browser are you using?

Safari

Describe the Bug

Implicit pre-rendering without export const prerender = true using the new output: "hybrid" mode doesn’t work for dynamic routes. An error is shown in the console, and when building the site no html files are generated for the routes.

[getStaticPaths] getStaticPaths() is ignored when "output: server" is set.

Link to Minimal Reproducible Example

https://stackblitz.com/edit/github-nheqm9

Participation

  • I am willing to submit a pull request for this issue.
@MoustaphaDev MoustaphaDev added the - P5: urgent Fix build-breaking bugs affecting most users, should be released ASAP (priority) label May 20, 2023
@MoustaphaDev MoustaphaDev self-assigned this May 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
- P5: urgent Fix build-breaking bugs affecting most users, should be released ASAP (priority)
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants