devyumao / angular2-busy

Show busy/loading indicators on any promise, or on any Observable's subscription.
http://devyumao.github.io/angular2-busy/demo/asset/
MIT License
314 stars 102 forks source link

Error in angular 4.0 version #45

Closed mgafur closed 7 years ago

mgafur commented 7 years ago

ERROR Error: Uncaught (in promise): Error: Found the synthetic property @fadeInOut. Please include either "BrowserAnimationsModule" or "NoopAnimationsModule" in your application.

how to fix it

jnwanya commented 7 years ago

To fix this: Step 1 : npm install @angular/animations --save Step 2: import {BrowserAnimationsModule} from '@angular/platform-browser/animations' Step 3: @NgModule({ imports: [ BrowserAnimationsModule ] })

devyumao commented 7 years ago

Now 4.0 is supported!