I recently updated Ionic CLI. I am trying to build an older application (v1 - created long ago) in this new cli version. But after installing gulp and running ionic cordova build android
it shows following error. But gulp file exists in that location.
I tried uninstalling it but same issue.
This is my Ionic info
- I am working on Ubuntu 16.04.
If you are trying to build Ionic 1 project, Then you should use
cordova run android
This will run perfectly. and for release cordova run android --release
ionic cordova build android
will work on Ionic 3 CLI.