Uncaught ReferenceError: ionic is not defined in Ionic 2


#1

Hi. is anyone else getting this error: Uncaught ReferenceError: ionic is not defined in the browser console. I get the error after following the tutorial… I get the error after running ionic serve command. notice that I have not even written a single line of code to make modifications. However It does not stop the app from running in the browser. but It would be nice to know how to fix it. Thanks.


#2

I have tried going to:

http://localhost:8100/?ionicPlatform=android
instead of
http://localhost:8100/?ionicplatform=android

As she mentioned: Ionic 2 - Uncaught ReferenceError: ionic is not defined

Now I have no this error.