I have an Ionic app that has a user provider with a signup() method:
user
signup()
doSignup() { // set
It happened to me doing unit-test on watch mode. Stop the build, trigger it again = the error is gone.