简体   繁体   English

角度流星不适用于Meteor 1.3更新

[英]angular-meteor not working with Meteor 1.3 update

I have just updated the meteor application to Meteor 1.3 but now an error is raised as shown below : 我刚刚将流星应用程序更新为Meteor 1.3,但现在出现了一个错误,如下所示:

Uncaught Error: [$injector:modulerr] Failed to instantiate module angular-meteor

Its breaking the functionalities of angular, below is the initialization code 它打破了angular的功能,下面是初始化代码

angular.module('myApp',['angular-meteor','ui.router','ionic','ngCordova']);

I tried removing angular-meteor but its showing an error as angular is initialized twice. 我尝试去除角度流星,但是当角度初始化两次时它显示错误。

+1 +1

Me too. 我也是。 Just taken me 30 mins to figure out it wasn't me by reverting to a previous version on my project. 我花了30分钟才发现我的项目还没有恢复到以前的版本。 And workarounds at the moment? 目前还有解决方法吗?

I fixed the problem with: "meteor add angular-meteor-auth@1.0.0" Then i do: "meteor update", to update my angular-meteor package. 我修复了问题:“meteor add angular-meteor-auth@1.0.0”然后我做:“meteor update”,更新我的角度流星包。 Now it works 现在它有效

Please try the new angular-meteor 1.3.9_2 version and angular-meteor-auth 1.0.1 . 请尝试新的angular-meteor 1.3.9_2版本和angular-meteor-auth 1.0.1 that should fix your issues 这应该解决你的问题

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM