nuxt-modules / ionic

Batteries-included, zero-config Ionic integration for Nuxt
https://ionic.nuxtjs.org
MIT License
368 stars 38 forks source link

Error matching route rules. TypeError: Cannot read properties of undefined (reading 'entries') #591

Open abarke opened 2 months ago

abarke commented 2 months ago

🐛 The bug

[nuxt] Error matching route rules. TypeError: Cannot read properties of undefined (reading 'entries')

NOTE! In production mode using electron builder and installing the electron app it works without errors. The problem only effects dev mode AFAIK.

image

🛠ī¸ To reproduce

https://stackblitz.com/github/nuxt-modules/ionic/tree/main/playground

🌈 Expected behaviour

No errors should occur.

ℹī¸ Additional context

------------------------------
- Operating System: Windows_NT
- Node Version:     v22.1.0
- Nuxt Version:     3.12.3
- CLI Version:      3.12.0
- Nitro Version:    2.8.1
- Package Manager:  pnpm@8.15.5
- Builder:          -
- User Config:      ssr, router, css, modules, electron, ionic, vite, nitro, devtools
- Runtime Modules:  @nuxtjs/ionic@0.15.1, nuxt-electron@0.7.0
- Build Modules:    -
------------------------------
abarke commented 1 month ago

Current workaround is to disable the app manifest it is trying to consume

export default defineNuxtConfig({
  experimental: {
    appManifest: false,
  },
});