Unknown provider: $$MapProvider <- $$Map <- $$animateQueue <- $animate <- $compile <- $$animateQueue
I have Unknown $$MapProvider
Error While Using 'angular-animate'
My bower.json
look Like this:
{
"angular": "^1.6.2",
"angular-animate": "1.6.2",
}
Credit to federico - As discussed in the comments this can be caused by having different versions of angular
and angular-animate
. Try to bring these two inline and it should go away.
recently I've faced the same problem i think it must be compatibility issue of angular
with angular-animate
(though I'm not sure what the actual problem)
Solution
step1: bower update
now you will find couple of options here asking for a number to answer
step2: press 4 and voila!!
Note: in my case option 4 was
angular#1.6.2 which resolved to 1.6.2 and is required by angular-animate#1.6.2
please find attached screenshot for more clarification