Skip to content

About

Minimal reproduction for router error routeInfos[(routeInfoLength - 1)] is undefined

Resources

Stars

0 stars

Watchers

1 watching

Forks

Repository files navigation

ember-transition-bug

This README outlines the details of collaborating on this Ember application. A short introduction of this app could easily go here.

Steps for bug

  1. Run ember s
  2. Page is loading and will be auto redirected to sub route "base"
  3. Refresh page (F5)
  4. Error Uncaught TypeError: routeInfos[(routeInfoLength - 1)] is undefined

Reason: it occur, because we have in base route a queryParameter with default value null (@tracked messageType = null;). Removing default value null fix the problem

Prerequisites

You will need the following things properly installed on your computer.

Installation

  • git clone <repository-url> this repository
  • cd ember-transition-bug
  • pnpm install

Running / Development

Code Generators

Make use of the many generators for code, try ember help generate for more details

Running Tests

  • pnpm test
  • pnpm test:ember --server

Linting

  • pnpm lint
  • pnpm lint:fix

Building

  • pnpm ember build (development)
  • pnpm build (production)

Deploying

Specify what it takes to deploy your app.

Further Reading / Useful Links

About

Minimal reproduction for router error routeInfos[(routeInfoLength - 1)] is undefined

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages