未知提供者:$$ MapProvider [英] Unknown provider: $$MapProvider

查看:88
本文介绍了未知提供者:$$ MapProvider的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

未知提供者:$$ MapProvider<-$$ Map<-$$ animateQueue<-$ animate<-$ compile<-$$ animateQueue

Unknown provider: $$MapProvider <- $$Map <- $$animateQueue <- $animate <- $compile <- $$animateQueue

使用'angular-animate'

我的bower.json看起来像这样:

 { 
   "angular": "^1.6.2",
   "angular-animate": "1.6.2",
 }

推荐答案

贷记给federico-如评论中所述,这可能是由于angularangular-animate的版本不同而引起的.尝试使这两个内联,它应该消失.

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.

这篇关于未知提供者:$$ MapProvider的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆