TypeError: Invalid Version: Not Installed

after updating all my packages as soon as i run gulp

this is what i get

TypeError: Invalid Version: Not installed
Invalid Version: Not installed (CLI v1.6.1)
'run-ionic' errored after 12 s
[10:12:30] Error in plugin 'gulp-shell'
Message:
    Command `ionic serve` failed with exit code 1

      

and

Invalid Version: Not installed (CLI v1.6.1)

Your system information:

Cordova CLI: Not installed
Gulp version:  CLI version 3.9.0
Gulp local:   Local version 3.9.0
Ionic Version: 1.0.0-nightly-1299
Ionic CLI Version: 1.6.1
Ionic App Lib Version: 0.3.3
OS: Distributor ID: Ubuntu Description: Ubuntu 14.04.2 LTS 
Node Version: v0.12.4

      

what should I do?

+3


source to share


1 answer


I tried to start a new ionic app and got the same error. I assume you already have npm installed, but the Cordova CLI is not installed, so I suggest you install in terminal on npm.

sudo npm install -g cordova

      



It worked for me, hope it helps you.

+18


source







All Articles