mdaass
(Ma7moudat)
February 21, 2025, 7:44pm
1
Question
Hi,
I’m trying out Vercel for the first time with a Nuxt site, but I’m getting the error mentioned in the title:
Error: Builder returned invalid routes: [“Route at index 7 has invalid src
regular expression "^**$".”]
There are a few variations of the same error in the discussions on GitHub (but not here); unfortunately, none of them helped me solve my problem!
The site should eventually be deployed to:
https://karagoz-docs-git-main-frontendat.vercel.app/
I would appreciate any hints to the solution
Thanks,
Mahmoud
mdaass
(Ma7moudat)
February 24, 2025, 11:16am
2
it has been resolved. In my Nuxt config I had used ‘**’ as a pattern in the routeRules. That was working locally, but on production it was causing the problem apparently. It worked after changing the pattern to ‘/*’
1 Like
pawlean
(Pauline P. Narvas)
February 25, 2025, 12:03pm
3
Thanks for coming back with what worked for you!
1 Like
system
(system)
Closed
March 4, 2025, 12:03pm
4
This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.