Skip to content

Error in chunk main - HarmonyImportDependency #1587

Closed
@yusijs

Description

@yusijs

Please provide us with the following information:

  1. OS? Windows 7, 8 or 10. Linux (which distribution). Mac OSX (Yosemite? El Capitan?)
    Windows 10
  2. Versions. Please run ng --version. If there's nothing outputted, please run
    in a Terminal: node --version and paste the result here:
    angular-cli: 1.0.0-beta.11-webpack
    node: 4.3.0
    os: win32 x64
  3. Repro steps. Was this an app that wasn't created using the CLI? What change did you
    do on your code? etc.
    Create with cli (systemjs). Upgraded to webpack
  4. The log given by the failure. Normally this include a stack trace and some
    more information.
    ERROR in chunk main [initial]
    [name].[chunkhash].bundle.js
    Template cannot be applied as TemplateArgument: HarmonyImportDependency
  5. Mention any other details that might be useful.
    Only happens with ng serve/build -prod. Dev works fine.

Thanks! We'll be in touch soon.

Metadata

Metadata

Labels

P1Impacts a large percentage of users; if a workaround exists it is partial or overly painfultype: bug/fix

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions