Generators are only available for ionic 2 projects message while creating new page in ionic


#1

I want to add new page to my project.
but I am getting the following message:
Please hep me with this.


#2
  1. You have an Ionic v1 project.
  2. Generators are only available for v2+ projects.
  3. You can’t generate stuff for v1 projects with the generators that are only available for v2+ projects.

#3

The error has been resolved.
Thanks


#4

How? Maybe your solution can help someone else in the future.


#5

Sure,
I ran the following command:

npm install -g cordova ionic@beta

in the command line outside the project folder.

Thank you.


#6

You can also refer to the link:


for further details.