Skip to content
This repository was archived by the owner on May 10, 2021. It is now read-only.
This repository was archived by the owner on May 10, 2021. It is now read-only.

You cannot define a route with the same specificity as a optional catch-all route #76

Closed
@afzalsayed96

Description

@afzalsayed96

I have the following page structure:

Page                              
┌   /_app                       
├ ● /[[...rest]]               
├   ├ /
├   └ /careers
├ ○ /404     
└ λ /api/preview                                     

Command build runs successfully but running next-on-netlify spits out the following error:

Error: You cannot define a route with the same specificity as a optional catch-all route ("/" and "/[[...rest]]").

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