angular2-busy icon indicating copy to clipboard operation
angular2-busy copied to clipboard

Cannot find module '@angular/platform-browser/animations'.)

Open NikhilRadadiya opened this issue 8 years ago • 5 comments

Hello @devyumao , I'm trying to use it with angular 2.4.0. Updated animations to @angular/animations": "^4.1.3. but it still gives this error

Cannot find module '@angular/platform-browser/animations'.)

can you please help? will it work with 2.4.0 version?

NikhilRadadiya avatar May 25 '17 08:05 NikhilRadadiya

Also encountered with this issue, any solution?

tomerpeled avatar May 29 '17 16:05 tomerpeled

No

NikhilRadadiya avatar May 30 '17 04:05 NikhilRadadiya

Well, I succeed to solve it.

You should use angular2-busy "1.0.2" version and it's dependencies:

"angular2-busy": "1.0.2", "ts-metadata-helper": "0.0.3", "angular2-dynamic-component": "0.0.50"

tomerpeled avatar May 30 '17 07:05 tomerpeled

It's because angular 4 doesn't ship with @angular/animations by default. Just run npm install --save @angular/animations and try again

ghost avatar Jun 17 '17 16:06 ghost

I just encountered this too - the docs should probably be updated to include the command mentioned by PatilSuraj..

graham-sportsmgmt avatar Jun 29 '17 18:06 graham-sportsmgmt