nuxt-modules / nuxt-modules/ionic

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

Open
#591 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
TypeScript
Stars
457
Forks
53
Avg merge
7h 32m
Merged PRs (30d)
21

Description

🐛 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:    -
------------------------------

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the linked StackBlitz playground and run it in Electron development mode to reproduce the route-rules error. Compare the failing development path with the production behavior described in the issue, then confirm that development mode starts without the TypeError.

Written by the indexing model from the issue text.

Assessment

Tech stack
electron, nuxtjs, typescript
Domain
desktop, frontend, mobile
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.