Downgrade ionic version 3.4.0 to ionic v1 issue

npm install -g ionic
npm uninstall -g ionic
npm install -g ionic@1.7.8

I try to downgrade ionic version 3.4.0 to ionic v1 and Above mentioned commands are used but no hope.
How i achieve to downgrade version .

FYI : Already i have ionic v1 project and how to work with version1 itself.

Why are you trying to install that ancient version of ionic?

Ionic CLI ( ionic) is not Ionic Framework.
Ionic v1 is Ionic Framework.
Ionic CLI v3.x work perfectly fine for Ionic v1 projects.

But old commends are not working.

cordova build ios

using this version of cordova with older version of cordova-ios is deprecated.Upgrade to cordova-ios@4.0.0 or newer.
Error: Your ios platform does not have Api.js

I am getting error like this. how to make build commands without error like this

This is not an ionic command and has nothing to do with Ionic CLI.
(But you should be using ionic cordova build ios, not the direct cordova command)[quote=“senthil_25, post:3, topic:94912”]
using this version of cordova with older version of cordova-ios is deprecated.Upgrade to cordova-ios@4.0.0 or newer.
Error: Your ios platform does not have Api.js
[/quote]

As it says, this version of “cordova” (!) doesn’t work wout your older cordova-ios you are using. Check your cordova version with cordova -v. THen you might install an older one by using npm install -g cordova@x.y.z.

But why do you want to stay with the old cordova-ios?
(Show us your ionic info amd cordova platform list output please)

global packages:

@ionic/cli-utils : 1.4.0
Ionic CLI        : 3.4.0

System:

Node       : v6.11.0
OS         : macOS Sierra
Xcode      : Xcode 8.3.3 Build version 8E3004b 
ios-deploy : not installed
ios-sim    : 5.0.13 
npm        : 5.0.3 

cordova platform
Installed platforms:
android 5.1.1
Available platforms:
blackberry10 ~3.8.0 (deprecated)
browser ~4.1.0
ios ~4.4.0
osx ~4.0.1
webos ~3.7.0

(In your project please)

BLRPYANGA42426:iOS skuppu$ ionic cordova build ios
[ERROR] Unable to find command: cordova build ios
You may need to be in an Ionic project directory.

_ _
() ()


| |/ _ | '_ | |/ |
| | (_) | | | | | (

||___/|| |||___| CLI 3.4.0

Usage:

$ ionic <command> [--help] [--verbose] [--quiet] [<args>] [options]
$ ionic [--confirm] [--no-interactive] [--yarn] [--no-timeout]

Global Commands:

docs ..................... Open the Ionic documentation website
info ..................... Print system/environment info
login .................... Login with your Ionic ID
signup ................... Create an Ionic account
start .................... Create a new project
telemetry ................ Opt in and out of telemetry

Project Commands:

You are not in a project directory.

You have to be in the folder where you have your Ionic project.

(If you are and this still is the output, do you have a ionic.project file in there? Rename it to ionic.config.json please and try again)

Sir but ionic.project file is not my available in my app file stracture tell me what I do?