Ionic-cli: ionic v3.4.0 to ionic v1 downgrade issue

Created on 16 Jun 2017  路  8Comments  路  Source: ionic-team/ionic-cli

I am trying to downgrade ionic v3.4.0 to ionic v1.

npm install -g ionic
npm uninstall -g ionic
npm install -g [email protected]

While try to download 1.7.8 i am getting ionic v3.4.0
How achieve version degradation Could you help in this one.

Most helpful comment

@Senthilkumark Ah okay. Yes the V1 docs are out of date. Here do you find the updated CLI Docs: https://ionicframework.com/docs/cli/

To start a new V1 project run this: ionic start mynewapp blank --type ionic1

All 8 comments

I don't get it. Why do you want to downgrade?
And you can't downgrade just by changing the dependencies.
Ionic v1 runs with AngularJs while Ionic 2.0 and newer runs with Angular.
If you want to start a new Ionic V1 project check out the Ionic CLI doc's first.

i checked the V1 doc's and followed the steps. It's not downloading v1 but i got 3.4.0.

@Senthilkumark Ah okay. Yes the V1 docs are out of date. Here do you find the updated CLI Docs: https://ionicframework.com/docs/cli/

To start a new V1 project run this: ionic start mynewapp blank --type ionic1

@danielsogl : i have already ionic v1 project but my cli in 3.4.0 so i could't able to run my code.
Anyway to get ionic v1 restore .

@Senthilkumark The Ionic CLI has nothing to do with your Ionic project. Ionic CLI != Ionic Angular.
I posted the link to the new CLI. I don't have problems to run Ionic V1 projects with the newest CLI release.

@danielsogl BLRPYANGA42426:iOS skuppu$ cordova build ios
Using this version of Cordova with older version of cordova-ios is deprecated. Upgrade to [email protected] or newer.
Error: Your ios platform does not have Api.js

I am getting error like this and old command also not working

@danielsogl Hi I麓ve just updated ionic cli to version 3.20.0 and I did a new project. The new project has the 1.3.4 version but on github I can see the 1.3.5. How can I force the use of the latest version? Is this url repo an unofficial one?

Thank in advance.

This is the official repo for Ionic 1: https://github.com/ionic-team/ionic-v1

Use bower to upgrade it. Look at the bower.json file.

Was this page helpful?
0 / 5 - 0 ratings