Ionic 2 RC2 does not build on a new project


#1

I’ve created a new project:

ionic start testIonicBuild tabs --v2
ionic serve -c -s

but the build process does not fires. The www folder is empty, and the browser shows an error:

Error: ENOENT: no such file or directory, open '.../testIonicBuild/www/index.html'

My config is:

--------------------------------
Your system information:

Cordova CLI: 6.3.1
Gulp version:  CLI version 3.9.1
Gulp local:  
Ionic Framework Version: 2.0.0-rc.2
Ionic CLI Version: 2.1.1
Ionic App Lib Version: 2.1.1
Ionic App Scripts Version: 0.0.42
OS: Distributor ID:    Ubuntu Description:    Ubuntu 16.04.1 LTS 
Node Version: v4.2.6
--------------------------------

I have tried to revert the build scripts to 0.0.36 which works well on another RC1 project:

npm install @ionic/app-scripts@0.0.36 --save-dev

but it fails the same.

Any idea about what could be the problem?


#2

Solved by updating Cordova and ionic client:

sudo npm update -g cordova ionic

Config is now:

Your system information:

Cordova CLI: 6.4.0 
Ionic Framework Version: 2.0.0-rc.2
Ionic CLI Version: 2.1.7
Ionic App Lib Version: 2.1.4
Ionic App Scripts Version: 0.0.42
ios-deploy version: Not installed
ios-sim version: Not installed
OS: Linux 4.4
Node Version: v4.2.6
Xcode version: Not installed