Skip to content

ng generate appShell throws error "Chunk cannot be found" #10093

@malthoff

Description

@malthoff

Versions

Angular CLI: 1.7.3
Node: 8.9.1
OS: win32 x64
Angular: 4.3.6
... animations, common, compiler, core, forms, http
... platform-browser, platform-browser-dynamic, platform-server
... router

@angular/cli: 1.7.3
@angular/compiler-cli: 4.4.6
@angular/tsc-wrapped: 4.4.6
@angular-devkit/build-optimizer: 0.3.2
@angular-devkit/core: 0.3.2
@angular-devkit/schematics: 0.3.2
@ngtools/json-schema: 1.2.0
@ngtools/webpack: 1.10.2
@schematics/angular: 0.3.2
@schematics/package-update: 0.3.2
typescript: 2.4.2
webpack: 3.11.0

Repro steps

  1. ng generate universal ngu-app-shell
  2. ng generate appShell load-shell --universal-app=ngu-app-shell --route=app-shell-path

Observed behavior

Console output:
Error: Chunk cannot be found.
Chunk cannot be found.

Desired behavior

app shell generated

Mention any other details that might be useful (optional)

I was following this:
https://blog.angular-university.io/angular-app-shell/

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions