Ujjwal Maheshwari
Ujjwal Maheshwari

Reputation: 113

ionic start myapp --v2 is not working

I am using ubuntu 14.04. Installed ionic and cordova. used command ionic start myapp --v2 error thrown is

[ERROR] Sorry! The --v1 and --v2 flags have been removed.
        Use the --type option. (ionic start --help)

        For Ionic Angular projects, try ionic start ionreddit --type=ionic-angular

Used ionic start myapp blank --type=ionic2 Error

Unable to find starter type for ionic2

Upvotes: 2

Views: 6764

Answers (2)

Gading Reno
Gading Reno

Reputation: 21

actually if u already install the ionic, the default is ionic v2, so that's mean u only need type
ionic start myApp blank but if u wanted to install ionic v1, u must adding --type ionic1 like this ionic start myApp blank --type ionic1

Upvotes: 2

Suraj Rao
Suraj Rao

Reputation: 29625

The command for Ionic cli v3.x is:

ionic start myapp blank --type ionic-angular

If you want ionic 1

ionic start myapp blank --type ionic1

Check the docs.

You wont get a strictly ionic v2 project.

Upvotes: 3

Related Questions