ng2-animate icon indicating copy to clipboard operation
ng2-animate copied to clipboard

Error building ionic 2 app when using ng2-animate

Open caden311 opened this issue 7 years ago • 1 comments

I get this error

Error: Error encountered resolving symbol values statically. Calling function 'animateFactory', function calls are not supported. Consider replacing the function or lambda with a reference to an exported function,

I followed the exact instructions.

import {animateFactory} from "ng2-animate"; @Component({ selector: 'page-dashboard', templateUrl: 'dashboard.html', animations:[animateFactory(800,100,'ease-in')] })

Any ideas why this is happening?

caden311 avatar May 11 '17 21:05 caden311

I have the same issue, and i'm encountering it right when i'm done with my project and building for production 🤦🏾‍♂. I think this project is dead. https://github.com/ackerapple/ack-angular-fx seems like a worthwhile alternative to this, and the above error has been fixed in it. I havent used it though, but i sure wish i had found that before this repo.

KManu avatar Oct 10 '17 12:10 KManu