Generators are only available for Ionic 2 projects

2

I can not resolve the following error:

Generators are only available for Ionic 2 projects (CLI v2.1.8)

Your system information:

Cordova CLI: 6.4.0 
Ionic CLI Version: 2.1.8
Ionic App Lib Version: 2.1.4
ios-deploy version: Not installed
ios-sim version: Not installed
OS: Linux 3.16
Node Version: v6.9.1
Xcode version: Not installed

I've tried to update the CLI: (I did not succeed)

ionic lib update

I was able to do this:

ionic start example blank --v2
    
asked by anonymous 17.11.2016 / 18:57

1 answer

1

This is because you are trying to use a generator in an Ionic 1 project, when the Ionic generator only supports version 2.

    
23.11.2016 / 21:44