Skip to content

Subpath: This route collides with: "src/pages/404.astro". #1080

@rwieruch

Description

@rwieruch

What version of starlight are you using?

0.12.1

What version of astro are you using?

3.3.0

What package manager are you using?

yarn

What operating system are you using?

Mac

What browser are you using?

Chrome

Describe the Bug

I already used Astro for my website and wanted to integrate Astro Starlight manually to it for my "Help Desk". When I tried to start it, I got the following error:

This route collides with: "src/pages/404.astro".

Because Astro Starlight comes with a 404 as well, I had to remove my top-level 404 page. It works, however, are there any plans to allow two 404 if Starlight gets dropped in as a subpath?

Thanks for all your work here!

Link to Minimal Reproducible Example

Participation

  • I am willing to submit a pull request for this issue.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions