Not able to bundle typescript in Ionic 2 starter


#1

Hi everyone

I’m starting new project with Ionic 2 (from http://ionicframework.com/docs/v2/getting-started/installation/) and I’m not able to bundle my typescript files into ES5, using gulp.
I have latest versions of all dependencies:

npm 3.10.2
ionic CLI: 2.0.0-beta.32
Ionic framework: 2.0.0-beta.10
node: 6.2.2
cordova: 6.2.0

Ionic switched from webpack to gulp, in their starter projects, and uses ionic-gulp-browserify-typescript npm package to bundle typescript. For some reason it doesn’t work.

Did anybody experience the same problem or is there any starter project with latest Angular 2 and Ionic, built with webpack?

Thanks


#2

I resolved the issue by copy-pasting project folder to another folder on my computer, after second day of debugging.
I use Windows 10 but not sure if it’s relevant. Maybe it’s related to some system permissions or npm caching.

Totally crazy.