Quantcast
Channel: Ionic Forum - Latest topics
Viewing all articles
Browse latest Browse all 70429

Tutorial not working in visual studio 2015

$
0
0

@prolink007 wrote:

Running the following command to start the ionic 2 tutorial.

ionic start MyApp tutorial --v2

I pull that project into visual studio 2015 using New Project form existing code -> apache/cordova.

I open app.js and i see errors on the constructor and the decorator.

@App({
  templateUrl: 'app/app.html'
})

Saying that the @ symbol is an invalid character.

constructor(app: IonicApp, platform: Platform) {

Essentially it is complaining about the typing. The errors are "expected )", "expected ("... etc. If i remove "app:" and "platform:", it will no longer have errors.

What can i do to fix these issues?

My npm global list:
cordova@5.4.0
ionic@2.0.0-alpha.23
npm@3.4.0
typescript@1.6.2

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 70429

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>