I'm following theIonic 2 tutorial steps.
I started like this :
ionic start MyIonic2Project tutorial --v2 --ts
I encountered this problem :
√ Sass compilation complete
√ HTML copied to www/build
√ Fonts copied to www/build/fonts
Hash: e593a886038813766c87
Version: webpack 1.12.10
Time: 7150ms
Asset Size Chunks Chunk Names
app.bundle.js 2.67 MB 0 [emitted] main
[0] multi main 64 bytes {0} [built]
+ 359 hidden modules
ERROR in [default] /Users/christianbonato/MyIonic2Project/app/app.ts:13:42
Cannot find name 'Type'.
ERROR in [default] /Users/christianbonato/MyIonic2Project/node_modules/ionic-framework/animations/animation.d.ts:48:50
A 'this' type is available only in a non-static member of a class or interface.
ERROR in [default] /Users/christianbonato/MyIonic2Project/node_modules/ionic-framework/animations/animation.d.ts:54:50
A 'this' type is available only in a non-static member of a class or interface.
√ Webpack complete
∆ Starting dev server.
The webserver launches alright, but I'd rather fix these errors,
I don't know if the app may suffer later.
The errors in animation.d.ts were solved thanks to this.
The only error left is this one :
ERROR in [default] /Users/christianbonato/MyIonic2Project/app/app.ts:13:42
Cannot find name 'Type'.
Any ideas on how to fix this?