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

"Catch-all must be the last part of the URL." error triggered on CSS files #10594

Closed
stefanoverna opened this issue Feb 19, 2020 · 3 comments · Fixed by #10595
Closed

"Catch-all must be the last part of the URL." error triggered on CSS files #10594

stefanoverna opened this issue Feb 19, 2020 · 3 comments · Fixed by #10595

Comments

@stefanoverna
Copy link

Bug report

Describe the bug

I'm getting a Catch-all must be the last part of the URL error when I have a CSS file in this path: /docs/p/[...chunks]/style.css.

To Reproduce

Simply add a CSS file inside a catch all route.

Expected behavior

Only .js, .jsx, .ts, or .tsx files should be considered as pages, not CSS files.

System information

  • Version of Next.js: 9.2.1
@Timer
Copy link
Member

Timer commented Feb 19, 2020

Fixed in next@^9.2.3-canary.4!

@stefanoverna
Copy link
Author

stefanoverna commented Feb 21, 2020 via email

@balazsorban44
Copy link
Member

This issue has been automatically locked due to no recent activity. If you are running into a similar issue, please create a new issue with the steps to reproduce. Thank you.

@vercel vercel locked as resolved and limited conversation to collaborators Jan 30, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants