googlearchive / generator-angularfire

Yeoman generator for AngularFire: Angular + Firebase apps
191 stars 52 forks source link

TypeError: undefined is not a function\n at loadProfile #28

Closed belgac closed 9 years ago

belgac commented 9 years ago

Hello,

Every time i try to change an e-mail adress as a user from the account page, i receive this error:

{"stack":"TypeError: undefined is not a function\n at loadProfile (http://localhost:9000/scripts/controllers/account.js:60:24)\n at http://localhost:9000/scripts/controllers/account.js:36:11\n at wrappedCallback (http://localhost:9000/bower_components/angular/angular.js:11319:81)\n at http://localhost:9000/bower_components/angular/angular.js:11405:26\n at Scope.$eval (http://localhost:9000/bower_components/angular/angular.js:12412:28)\n at Scope.$digest (http://localhost:9000/bower_components/angular/angular.js:12224:31)\n at Scope.$apply (http://localhost:9000/bower_components/angular/angular.js:12516:24)\n at http://localhost:9000/bower_components/angular/angular.js:14023:36\n at completeOutstandingRequest (http://localhost:9000/bower_components/angular/angular.js:4300:10)\n at http://localhost:9000/bower_components/angular/angular.js:4601:7"}

The adress change is working in firebase and the users are correctly destroyed.

I generated a virgin test project with yo angularfire and i have the same problem.

I can't understand where the problem is.

katowulf commented 9 years ago

There's no version info here, nor steps you chose in generating the project. We won't be able to help without an mcve

katowulf commented 9 years ago

Closing due to inactivity.