Ionic 4 Starter

I want to convert an old V1 application to the latest (and greatest aka ionic4).

I started with
ionic start myApp sidemenu

Then, “ionic info” gives me “ionic-angular 3.9.2”

Why not 4.* ?

I want to start a Ionic 4 application basically…

You need to add the flag --type=angular to your command.

I would take a moment and read a migration guide and review the docs if you haven’t. As you might expect, a lot has changed since v1.

1 Like

Indeed I have noticed :slight_smile:

Shouldn’t this not be necessary any more if you have the newest CLI installed?
What is your general ionic info output @Lona?

Ionic:

   ionic (Ionic CLI) : 4.1.2

System:

   NodeJS : v6.11.4
   npm    : 3.10.10
   OS     : Windows 10

Yep, that is pretty old and should be updated - then new projects will default to Ionic 4 (or you will be prompted when creating new ones).

Hi - as mentioned by others, please ensure you have the latest version of the Ionic CLI. With the launch of Ionic 4.0, it now defaults to Ionic 4 projects. To update, run:

npm install -g ionic

Cheers!