Cannot read property 'apply' of undefined error


#1

I’ve been working on a medium-scale application using Ionic v2 framework for the past few months. Recently, I decided to package my app and start using the cloud service to distribute my app for a few groups to alpha test it. All has been going well, except recently my app started spitting out TypeErrors. My console output has also not been showing up in LogCat, which I assume is due to the TypeErrors.

System Information:

Cordova CLI: 6.4.0
Ionic Framework Version: 2.0.0-rc.4
Ionic CLI Version: 2.1.13
Ionic App Lib Version: 2.1.7
Ionic App Scripts Version: 0.0.45
ios-deploy version: Not installed
ios-sim version: Not installed
OS: Windows 10
Node Version: v6.9.1
Xcode version: Not installed

Here’s the stacktrace:

TypeError: Cannot read property ‘apply’ of undefined
at t.warn (file:///android_asset/www/build/main.js:24:4008)
at t.markActive (file:///android_asset/www/build/main.js:24:2744)
at t.checkActivity (file:///android_asset/www/build/main.js:24:2283)
at file:///android_asset/www/build/main.js:24:1946
at t.invokeTask (file:///android_asset/www/build/polyfills.js:3:9402)
at Object.onInvokeTask (file:///android_asset/www/build/main.js:3:11124)
at t.invokeTask (file:///android_asset/www/build/polyfills.js:3:9338)
at e.runTask (file:///android_asset/www/build/polyfills.js:3:6762)
at invoke (file:///android_asset/www/build/polyfills.js:3:10515)
at e.args.(anonymous function) (file:///android_asset/www/build/polyfills.js:2:30122)

Any help is appreciated, thanks!