Hey
I’m using:
npm -v: 3.5.3
ionic -v: 2.0.0-beta.17
cordova -v: 5.4.1
I created a new project with:
ionic start testeapp blank --v2
and after that i used
ionic serve --v2
The console shows the errors below:
Angular 2 is running in the development mode. Call enableProdMode() to enable the production mode.
localhost/:53 Uncaught ReferenceError: ionic is not defined
app.bundle.js:5123 Angular 2 is running in the development mode. Call enableProdMode() to enable the production mode.
localhost/:53 Uncaught ReferenceError: ionic is not defined
undefined:1 Uncaught (in promise) TypeError: object is not a constructor(…)
undefined:1 Uncaught (in promise) TypeError: object is not a constructor(…)
I used the templates ionic start cutePuppyPics --v2
and ionic start MyIonic2Project tutorial --v2
but the error is the same.
The error localhost/:53 Uncaught ReferenceError: ionic is not defined
refers to line ionic && ionic.Platform && ionic.Platform.setPlatform("android");
on http://localhost:8100/?ionicplatform=android
Someone else is with this same problem?