I've upgraded my project from angular 5.2.9 to angular 6.0.0-rc.5.
Except few quick RxJS fixes in the packages path, all looks good. (This link was quiet helpful : Want to upgrade project from Angular 5 to Angular 6)
But, for some reason i'm encountering a issue with the AnimationEntryMetadata inside the @angular/core module.
I was importing:
import {AnimationEntryMetadata} from '@angular/core';
In order to create animations. But now i'm getting the following error:
Module ../node_modules/@angular/core/core"' has no exported member 'AnimationEntryMetadata'
Did anybody encounter this issue has well?
I compared the two @angular/core files between the two versions and found some changes (marked in different color for each version), you can see that the "AnimationEntryMetadata" is missing in the newer version:
Symbols related to angular animations now have to be imported from @angular/animations
.
This change was introduced in the new version.
Furthermore, it seems that the symbol you are referring to was removed and replaced by AnimationTriggerMetadata
.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With