ReferenceError: ionic is not defined


#1

When I use gulp to run my project, I get the following error in the browser console
"ReferenceError: ionic is not defined " and it points to the following line

ionic && ionic.Platform && ionic.Platform.setPlatform(“ios”);

Any idea why this is?


#2

#3

fallow this instructions

https://www.npmjs.com/package/ionic-platform-web-client