Skip to content
This repository was archived by the owner on Aug 7, 2021. It is now read-only.

Preview Angular with Lazy Routes - TypeError: Cannot read property 'kind' of undefined #960

Closed
DimitarTachev opened this issue Jul 1, 2019 · 0 comments
Assignees
Labels
Milestone

Comments

@DimitarTachev
Copy link
Contributor

Environment
Provide version numbers for the following components (information can be retrieved by running tns info in your project folder or by inspecting the package.json of the project):

  • CLI: 5.4.0
  • Node.js: 10.13.0

To Reproduce

  1. Download the attached sample project.
  2. tns preview
  3. Scan
  4. You will get TypeError: Cannot read property 'kind' of undefined Webpack compilation error and the app will crash.

Expected behavior
The app should run on the device.

Sample project
NSPlayground.zip

Additional context
It seems that the issue is caused by the decomposition in the main NgModule configuration.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants