Back to Withastro

Prerendered route generates the same path as another route.

src/content/docs/en/reference/errors/prerender-route-conflict.mdx

latest555 B
Original Source

import DontEditWarning from '~/components/DontEditWarning.astro'

<DontEditWarning />

PrerenderRouteConflict: Could not render PATHNAME from route THIS_ROUTE as it conflicts with higher priority route WINNING_ROUTE.

What went wrong?

Two prerendered routes generate the same path, resulting in a collision. A static path can only be generated by one route.

See Also: