Generators are only available for Ionic 2 Projects

Asked

Viewed 973 times

2

I cannot solve 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 have already tried to update the CLI: (failed)

ionic lib update

I got it this way:

ionic start example blank --v2

1 answer

1


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

Browser other questions tagged

You are not signed in. Login or sign up in order to post.