-
-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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
routeRules are undefined in production #26567
Comments
I experience a similar but slightly different issue. Upon upgrading from nuxt 3.10.3 all routes defined in Not sure if I its worth opening another issue for the problem I'm seeing. |
@tobiasdiez no, nothing so far. Keep getting this error every now and then, probably once per day. Still can't reproduce it though. |
Thanks. For me downgrading nitro to 2.8.1 worked. Not sure if you see exactly the same error, so not sure if this is a solution for you as well. I've opened unjs/nitro#2342 to track this at the source. |
@tobiasdiez @mikeCrafted I think it's a problem with ofetch, try this module to fix it for now → markthree/nuxt-fix-ofetch |
Would you be able to provide a reproduction? 🙏 More infoWhy do I need to provide a reproduction?Reproductions make it possible for us to triage and fix issues quickly with a relatively small team. It helps us discover the source of the problem, and also can reveal assumptions you or we might be making. What will happen?If you've provided a reproduction, we'll remove the label and try to reproduce the issue. If we can, we'll mark it as a bug and prioritize it based on its severity and how many people we think it might affect. If How can I create a reproduction?We have a couple of templates for starting with a minimal reproduction: 👉 https://stackblitz.com/github/nuxt/starter/tree/v3-stackblitz A public GitHub repository is also perfect. 👌 Please ensure that the reproduction is as minimal as possible. See more details in our guide. You might also find these other articles interesting and/or helpful: |
let's track upstream in unjs/nitro#2342 - this is unlikely to be a nuxt issue and is more likely to be a nitro one... a minimal reproduction would be helpful there though, if possible |
Environment
Reproduction
Indeterministic behavior only in production build on Azure app service :(
following routeRules are in nuxt.config:
routeRules: { '/jobs': { redirect: '/karriere' } }
Describe the bug
App crashes on load with this error:
Never had this in dev or local build, error occurs only for some users - not on any of my machines, which makes it difficult to track down for the cause.
Additional context
No response
Logs
No response
The text was updated successfully, but these errors were encountered: