Has anyone seen this error? Error stats: ReferenceError: IonicStats is not defined

After creating a project an moving into the directory created,
I run the following command “ionic platform add android” and then “ionic build android” and then promptly get the following error:
Error stats: ReferenceError: IonicStats is not defined
I’m running ionic 1.0.0-beta.11 on windows 8.1 pro 64 bit and using the latest node.js 64bit version with the most recent cordova.
Any ideas what’s going on?

1 Like

I think this is a bug of ionic version 1.2.1.
I ran:
npm install -g ionic@1.2.0
Then that error didn’t occur.

This bug was fixed 30 minutes ago :slight_smile: update your ionic-cli to version 1.2.2:
sudo npm install -g ionic

I opened an issue 40 minutes ago and they fixed :slight_smile: they are quick.


Wow, that is a quick turn around!

Yes it is :slight_smile: 20 minutes after I post the issue I was forking the code and creating a branch to fix the error, when I did a git pull the error was already fixed