ReferenceError: ionic is not defined

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?

fallow this instructions

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