You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
ERROR in node_modules/@angular/platform-browser/animations/animations.d.ts:37:22 #31348
Yes, the previous version in which this bug was not present was: 8.1.0-next.2
Description
Ivy es2015 build fails after upgrade to 8.1.0-rc.0 with following error:
ERROR in node_modules/@angular/platform-browser/animations/animations.d.ts:37:22 - error TS-996002: Appears in the NgModule.imports of AppModule, but could not be resolved to an NgModule class
37 export declare class BrowserAnimationsModule {
~~~~~~~~~~~~~~~~~~~~~~~
🔬 Minimal Reproduction
https://stackblitz.com/...
🔥 Exception or Error
ERROR in node_modules/@angular/platform-browser/animations/animations.d.ts:37:22 - error TS-996002: Appears in the NgModule.imports of AppModule, but could not be resolved to an NgModule class
37 export declare class BrowserAnimationsModule {
Activity
alexzuza commentedon Jun 29, 2019
Duplicate of #30972. Seems should be closed by angular/angular-cli#14934
So for now you can either
@ngtools/webpackversion from artifacts build https://github.com/angular/ngtools-webpack-buildsngcccompiler manually by executingnpx ivy-ngcc@angular/clito be shippeddranovsk commentedon Jun 30, 2019
@alexzuza running ivy-ngcc manually fixed the issues.
Thanks, closing the issue.
angular-automatic-lock-bot commentedon Sep 15, 2019
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.