Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Ionic App v1 - updating Ionic Framework Version (not Ionic CLI)

I'm trying to understand how to update my Ionic Framework Version.

ionic info

Your system information:

Cordova CLI: 8.0.0
Gulp version:  CLI version 3.9.1
Gulp local:   Local version 3.9.1
Ionic Framework Version: 1.1.0
Ionic CLI Version: 1.7.16
Ionic App Lib Version: 0.7.3
OS:
Node Version: v6.9.1

So the current Ionic Framework Version is "1.1.0"

I updated my bower.json:

{
  "name": "hello-ionic",
  "private": "true",
  "devDependencies": {
    "ionic": "driftyco/ionic-bower#1.3.3"
  }
}

and run bower install

but the new files are being stored at 'bower_components' folder

My folder structure:

enter image description here

I also copied the files from 'bower_components' to 'lib' folder and still after ionic info the 'Ionic Framework Version' is still '1.1.0'

like image 409
Oron Bendavid Avatar asked Mar 21 '18 07:03

Oron Bendavid


1 Answers

Try with

npm install -g [email protected] 

After the CLI has been updated you have a few options when it comes to updating your base library install, goto the root of your project and run this command:

ionic lib update

Here for more details. hope it helps.

like image 91
shafrianadhi Avatar answered Oct 04 '22 17:10

shafrianadhi