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

404 Cannot find any route matching, when adding a child route. #2419

Open
Aslemammad opened this issue May 7, 2024 · 0 comments · May be fixed by unjs/radix3#103
Open

404 Cannot find any route matching, when adding a child route. #2419

Aslemammad opened this issue May 7, 2024 · 0 comments · May be fixed by unjs/radix3#103

Comments

@Aslemammad
Copy link

Aslemammad commented May 7, 2024

Environment

  System:
    OS: Linux 5.15 Zorin OS 16.3
    CPU: (4) x64 Intel(R) Core(TM) i7-5600U CPU @ 2.60GHz
    Memory: 7.39 GB / 15.51 GB
    Container: Yes
    Shell: 5.8 - /bin/zsh
  Binaries:
    Node: 20.10.0 - ~/.nvm/versions/node/v20.10.0/bin/node
    Yarn: 1.22.21 - ~/.nvm/versions/node/v20.10.0/bin/yarn
    npm: 10.2.3 - ~/.nvm/versions/node/v20.10.0/bin/npm
    pnpm: 8.14.1 - ~/.local/share/pnpm/pnpm
    bun: 1.0.26 - ~/.bun/bin/bun
  Browsers:
    Chrome: 122.0.6261.69

Reproduction

https://github.com/stackblitz-labs/pkg.pr.new/pull/32/files#diff-adc28993ce942ac1009ac0fabadc03c9133c846eb1c2cba6f57847a5921b917d

Describe the bug

Thank you for the amazing library.

I had this route: server/routes/[owner]/[repo]/[packageAndRefOrSha].get.ts

Which was working properly. Now I added this too server/routes/[owner]/[repo]/[npmOrg]/[packageAndRefOrSha].get.ts and it's working (redirects to the route above), but it breaks the previous route I mentioned above. I wonder if I'm doing something wrong regarding the reproduction.

Additional context

No response

Logs

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant