ionic lib 1.1.0导致$ injector错误

时间:2015-11-01 21:09:24

标签: angularjs ionic-framework

我刚刚将离子库更新为1.1.0,我现在看到以下错误。

Uncaught Error: [$injector:unpr] Unknown provider: $$forceReflowProvider <- $$forceReflow <- $$animateQueue <- $animate <- $compile <- $ionicTemplateLoader <- $ionicPopup <- $$animateQueue http://errors.angularjs.org/1.4.3/$injector/unpr?p0=%24%24forceReflowProvid…0%24ionicTemplateLoader%20%3C-%20%24ionicPopup%20%3C-%20%24%24animateQueue

enter image description here

我无法找到我的库中的哪个文件导致此错误。

1 个答案:

答案 0 :(得分:0)

感谢@pankaj Parkar,我在更新

时给出了错误的答案
Unable to find a suitable version for angular-animate, please choose one:
    1) angular-animate#1.3.13 which resolved to 1.3.13 and is required by ionic#1.0.1
    2) angular-animate#1.4.3 which resolved to 1.4.3 and is required by ionic#1.1.0
    3) angular-animate#~1.4.4 which resolved to 1.4.7 and is required by Rehab_Guru

Prefix the choice with ! to persist it to bower.json

? Answer 2

Unable to find a suitable version for angular-sanitize, please choose one:
    1) angular-sanitize#1.3.13 which resolved to 1.3.13 and is required by ionic#1.0.1
    2) angular-sanitize#1.4.3 which resolved to 1.4.3 and is required by ionic#1.1.0

Prefix the choice with ! to persist it to bower.json

? Answer 2
bower install       ionic#1.1.0