remix icon indicating copy to clipboard operation
remix copied to clipboard

[Bug]: Layout route with more than one pathless layout causes invalid conflict

Open pokedotdev opened this issue 3 years ago • 3 comments

What version of Remix are you using?

1.5.1

Steps to Reproduce

Create a route structure like so:

app/routes
├── slug
│  ├── __bar
│  │  └── bar.tsx
│  ├── __foo
│  │  ├── foo.tsx
│  │  └── index.tsx
│  ├── __bar.tsx
│  └── __foo.tsx
└── slug.tsx

Expected Behavior

Layout routes can have more than one pathless layout route.

Actual Behavior

The error is thrown when starting remix:

Error: Path "slug/" defined by route "routes/slug/__foo" conflicts with route "routes/slug/__bar"

You can see reproduction here

pokedotdev avatar May 29 '22 20:05 pokedotdev

Hi, I can confirm this, I have the same problem. (I wouldn't flag it as "feat" tho, it looks like a bug to me)

goldo avatar Jun 10 '22 23:06 goldo

I have the same problem with ^1.9.0. @machour, should you flag it as bug instead?

binajmen avatar Jan 10 '23 12:01 binajmen

Will be fixed by #4421

machour avatar Jan 24 '23 18:01 machour

#4421 is merged and should be available once v1.17.0 is released

brophdawg11 avatar May 24 '23 18:05 brophdawg11

🤖 Hello there,

We just published version v0.0.0-nightly-33cc4c0-20230525 which involves this issue. If you'd like to take it for a test run please try it out and let us know what you think!

Thanks!

github-actions[bot] avatar May 25 '23 07:05 github-actions[bot]

🤖 Hello there,

We just published version 1.17.0-pre.0 which involves this issue. If you'd like to take it for a test run please try it out and let us know what you think!

Thanks!

github-actions[bot] avatar Jun 02 '23 18:06 github-actions[bot]

🤖 Hello there,

We just published version 1.17.0 which involves this issue. If you'd like to take it for a test run please try it out and let us know what you think!

Thanks!

github-actions[bot] avatar Jun 06 '23 19:06 github-actions[bot]