Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Angular-animate - Unknown provider: $$asyncCallbackProvider <- $$asyncCallback <- $animate <- $compile

Phew! I think I have fixed this... Bower seems to be the issue and solution!

I change from AngularJS 1.2.6 to 1.2.15 in my bower file and this resolved my issue:

so I changed this:

  "angular": "1.2.6"

to this

  "angular": "1.2.15"

Well, That only cost me 2 hours!


The problem here is that the Angular version does not match to the angular-animate version. Try to keep them aligned, so if you use angular 1.2.6, also use angular-animate 1.2.6.

Also you have to clean you bower components (delete the bower folder) after you make changes in the bower.json, bower will not check if the version installed is the same as in the bower.json

Generally I would recommend using the highest available stable angular and ng-animate version if you can.


This problem is probably due to compatibility issue. Though changing the angular version in bower.json would solve the problem, But the best way to solve this problem is to get the latest copy of angular and angular-animate i.e ~1.4.0

And the best part is asyncCallback is not being used in the latest version. So no such error would come. :p


I faced the same issue. I used angular animate 1.3.4 with angular 1.4.8. After down grade the angular version to 1.3.4, error gone.