简体   繁体   中英

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 :

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

Its breaking the functionalities of angular, below is the initialization code

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

Me too. Just taken me 30 mins to figure out it wasn't me by reverting to a previous version on my project. 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. Now it works

Please try the new angular-meteor 1.3.9_2 version and angular-meteor-auth 1.0.1 . that should fix your issues

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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