Urigo / Ionic-MeteorCLI-WhatsApp

WhatsApp Clone tutorial with Ionic 1.0 and Meteor CLI
https://www.angular-meteor.com/tutorials/whatsapp/meteor/bootstrapping
MIT License
205 stars 267 forks source link

`$timeout.cancel()` called with a promise that was not generated by `$timeout()` #60

Open daminisatya opened 6 years ago

daminisatya commented 6 years ago

I've cloned the repo as is and trying to set up the code. I'm not able to bypass the authentication error, with the following error in the console.

[$timeout:badprom] `$timeout.cancel()` called with a promise that was not generated by `$timeout()`.
https://errors.angularjs.org/1.7.2/$timeout/badprom
    at modules.js?hash=7d2cde3d5a9395943d47321127f2c573534476e7:16340
    at Function.timeout.cancel (modules.js?hash=7d2cde3d5a9395943d47321127f2c573534476e7:37145)
    at Object.showLoader [as show] (ionic-angular.js:2401)
    at login.controller.js:22
    at processQueue (modules.js?hash=7d2cde3d5a9395943d47321127f2c573534476e7:33598)
    at modules.js?hash=7d2cde3d5a9395943d47321127f2c573534476e7:33646
    at Scope.$digest (modules.js?hash=7d2cde3d5a9395943d47321127f2c573534476e7:34759)
    at ChildScope.$apply (modules.js?hash=7d2cde3d5a9395943d47321127f2c573534476e7:35147)
    at HTMLButtonElement.<anonymous> (ionic-angular.js:12248)
    at HTMLButtonElement.dispatch (jquery.js:4665) "Possibly unhandled rejection: {}"

Any pointers on resolving this?

@DAB0mB

nayfin commented 5 years ago

We are getting the same error when trying to use Angular 1.7 with Ionic 1. Docs describe problem here, but it looks like we will have to submit a PR to Ionic change $ionic.loading.show, hide, cancel etc... I wish they would have maintained it up to Angular 1.7....