Android build broken after update to CLI version 2

I just updated to the newest Ionic CLI. It seems like the build build process is pretty different than it was before, or at least that the information printed to the console is very different. It gets stuck with this error. Everything that prints out above that doesn’t fail, and looks ok. This app is an Ionic 1 app.

`
:transformClassesWithDexForArmv7Debug
FAILED

Caught exception:
 TypeError: Can't call method on  undefined
    at TypeError (native)
    at module.exports (c:\FormGit\IonicApp\node_modules\karma\node_modules\core-js\modules\_defined.js:3:28)
    at createHTML (c:\FormGit\IonicApp\node_modules\karma\node_modules\core-js\modules\_string-html.js:7:19)
    at bold (c:\FormGit\IonicApp\node_modules\karma\node_modules\core-js\modules\es6.string.bold.js:5:12)
    at cb (C:\Users\scott\AppData\Roaming\npm\node_modules\ionic\node_modules\ionic-app-lib\node_modules\winston\lib\winston\logger.js:206:7)
    at done (C:\Users\scott\AppData\Roaming\npm\node_modules\ionic\node_modules\ionic-app-lib\node_modules\winston\node_modules\async\lib\async.js:167:19)
    at C:\Users\scott\AppData\Roaming\npm\node_modules\ionic\node_modules\ionic-app-lib\node_modules\winston\node_modules\async\lib\async.js:40:16
    at C:\Users\scott\AppData\Roaming\npm\node_modules\ionic\node_modules\ionic-app-lib\node_modules\winston\lib\winston\logger.js:193:9
    at Console.log (C:\Users\scott\AppData\Roaming\npm\node_modules\ionic\node_modules\ionic-app-lib\node_modules\winston\lib\winston\transports\console.js:127:3)
    at emit (C:\Users\scott\AppData\Roaming\npm\node_modules\ionic\node_modules\ionic-app-lib\node_modules\winston\lib\winston\logger.js:186:17)
    at C:\Users\scott\AppData\Roaming\npm\node_modules\ionic\node_modules\ionic-app-lib\node_modules\winston\node_modules\async\lib\async.js:157:13
    at _each (C:\Users\scott\AppData\Roaming\npm\node_modules\ionic\node_modules\ionic-app-lib\node_modules\winston\node_modules\async\lib\async.js:57:9)
    at Object.async.each (C:\Users\scott\AppData\Roaming\npm\node_modules\ionic\node_modules\ionic-app-lib\node_modules\winston\node_modules\async\lib\async.js:156:9)
    at Logger.log (C:\Users\scott\AppData\Roaming\npm\node_modules\ionic\node_modules\ionic-app-lib\node_modules\winston\lib\winston\logger.js:214:9)
    at target.(anonymous function) [as error] (C:\Users\scott\AppData\Roaming\npm\node_modules\ionic\node_modules\ionic-app-lib\node_modules\winston\lib\winston\common.js:54:18)
    at Socket.<anonymous> (C:\Users\scott\AppData\Roaming\npm\node_modules\ionic\lib\utils\cordova.js:83:11)

Mind letting us know? https://github.com/driftyco/ionic-cli/issues


BUILD FAILED

Total time: 35.978 secs

`

It then prints out that exact error message twice more, and exits the build.

Here is my system info:
` c:\FormGit\IonicApp>ionic info

Your system information:

Cordova CLI: 6.3.1
Gulp version:  CLI version 3.9.0
Gulp local:   Local version 3.9.1
Ionic Framework Version: 1.0.1
Ionic CLI Version: 2.0.0
Ionic App Lib Version: 2.0.0-beta.20
OS:
Node Version: v4.2.2`

Any help would be much appreciated.

Thanks,

Scott