(Ionic CLI) : 3.18.0 generators issue

Hi, I started a new project with ionic and i want to generate new page with CLI : ionic generate page Contact but i had a strange tags like that : [ERROR] Generators are only supported in Ionic Angular projects. I tried all the solution which i found on internet. But error is still there. If anyone have any idea about that issue please share. Thank You. Waiting for solution ASAP.

What is your ionic info output?

cli packages: (/usr/lib/node_modules)

@ionic/cli-utils  : 1.18.0
ionic (Ionic CLI) : 3.18.0

global packages:

cordova (Cordova CLI) : 7.1.0 
Gulp CLI              : CLI version 3.9.1 Local version 3.9.1

local packages:

Cordova Platforms : android 6.2.2 ios 4.5.3
Ionic Framework   : ionic1 1.3.4

System:

Android SDK Tools : 25.2.5
Node              : v8.8.1
npm               : 5.5.1 
OS                : Linux 4.4

Environment Variables:

ANDROID_HOME : /var/todo/android-sdk-linux

Misc:

backend : pro

You have a Ionic v1 project. As the error message says, generators only work with Ionic Angular projects (Ionic 2+).

Should i update my ionic, I thought i am using ionic 3.

i reinstall my ionic but the same error is there.
my command was

npm i -g ionic@3.12.0

and ionic info is :
cli packages: (/usr/lib/node_modules)

@ionic/cli-utils  : 1.12.0
ionic (Ionic CLI) : 3.12.0

global packages:

cordova (Cordova CLI) : 7.1.0 
Gulp CLI              : CLI version 3.9.1 Local version 3.9.1

local packages:

Cordova Platforms : android 6.2.2 ios 4.5.3
Ionic Framework   : ionic1 1.3.4

System:

Android SDK Tools : 25.2.5
Node              : v8.8.1
npm               : 5.5.1 
OS                : Linux 4.4

Misc:

backend : pro

Ionic Framework : ionic1 1.3.4
still on Ionic1.

and upgrading ionic 1 to 2 will break your project as ionic 2 have totally different way of doing things than ionic1.better to switch to ionic cli 2.2.3 .
npm i -g ionic@2.2.3

You are using ionic CLI 3.x This has nothing to do with the version of the framework your app is built in.