Uncaught (in promise): ReadError: this.once is not a function


#1

I have a pretty simple project that is throwing an error that I have not the slightest idea how to fix:

Uncaught (in promise): ReadError: this.once is not a function
module.exports<@http://localhost:8100/build/main.js:120163:18
ErrorClass@http://localhost:8100/build/main.js:120349:3
asPromise/</</<@http://localhost:8100/build/main.js:125656:26
f</t.prototype.invoke@http://localhost:8100/build/polyfills.js:3:8969
c</r.prototype.run@http://localhost:8100/build/polyfills.js:3:4121
f/<@http://localhost:8100/build/polyfills.js:3:13729
f</t.prototype.invokeTask@http://localhost:8100/build/polyfills.js:3:9644
c</r.prototype.runTask@http://localhost:8100/build/polyfills.js:3:4812
o@http://localhost:8100/build/polyfills.js:3:1884
t/this.invoke@http://localhost:8100/build/polyfills.js:3:10673

Any pointers?

ionic info

PS C:\Users\Jan\Documents\yatsa> ionic info

global packages:

@ionic/cli-utils : 1.4.0
Cordova CLI      : 7.0.1
Ionic CLI        : 3.4.0

local packages:

@ionic/app-scripts              : 1.3.11
@ionic/cli-plugin-ionic-angular : 1.3.1
Ionic Framework                 : ionic-angular 3.5.0

System:

Node       : v7.9.0
OS         : Windows 10
Xcode      : not installed
ios-deploy : not installed
ios-sim    : not installed
npm        : 4.2.0