Components: ngcc failed to run on @angular/[email protected]

Created on 2 Jun 2020  路  8Comments  路  Source: angular/components

I just created a new Angular project with Ivy enabled using stackblitz and installed @angular/[email protected].
it is the only installed package (and it's peer dependency @angular/cdk) .

but I got an error ngcc failed to run on @angular/[email protected]

https://stackblitz.com/edit/angularmaterial-262020

error:

Error in ~/src/main.ts
ngcc failed to run on @angular/[email protected].
build cannot reproduce needs clarification

Most helpful comment

Set ("enableIvy": false) under angularCompilerOptions in tsconfig.json to solve the issue

All 8 comments

This issue doesn't have enough information for the team to investigate. Please include:

  • A reproduction of the issue (preferably via StackBlitz)
  • Any relevant errors and stack traces
  • Any relevant details about your build environment

(this is a canned response)

I already included a StackBlitz reproduction. @jelbourn
and here it is again
https://stackblitz.com/edit/angularmaterial-262020

I misunderstood that the error is ocurring _in_ StackBlitz

@eng-dibo Could you please clarify what I need to do the reproduce this in StackBlitz? When I open the shared StackBlitz, the app just compiles fine and the toolbar renders for me.

Same here- seems okay to me. Wheres the error?

Set ("enableIvy": false) under angularCompilerOptions in tsconfig.json to solve the issue

Closing this issue as there is no sufficient information to reproduce this.

This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

_This action has been performed automatically by a bot._

Was this page helpful?
0 / 5 - 0 ratings

Related issues

kara picture kara  路  3Comments

RoxKilly picture RoxKilly  路  3Comments

julianobrasil picture julianobrasil  路  3Comments

MurhafSousli picture MurhafSousli  路  3Comments

3mp3ri0r picture 3mp3ri0r  路  3Comments