Skip to content
This repository was archived by the owner on Aug 7, 2021. It is now read-only.
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

Description

@DimitarTachev

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.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions