question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Ionic 3.19.0 asks for CLI update but continues to ask for update after accepting.

See original GitHub issue

From @bfontana on March 22, 2018 13:37

Ionic version: (check one with “x”) (For Ionic 1.x issues, please use https://github.com/ionic-team/ionic-v1) [ ] 2.x [ x ] 3.x [ ] 4.x

I’m submitting a … (check one with “x”) [ x ] bug report [ ] feature request

Current behavior:

When running a “ionic serve” command CLI asks to upgrade. After enter Y it seems to upgrade but next time you run “ionic serve” (or any other ionic command) upgrade question appears again.

Expected behavior:

CLI updated after accepting update.

Steps to reproduce:

macOS Sierra with Ionic CLI 3.19.0. Issue any CLI command (except for “ionic cordova …” commands) and you’ll see this

ionic serve --lab --locale

The Ionic CLI has an update available (3.19.0 => 3.20.0)! Would you like to in stall it? Yes npm i -g ionic@latest ✔ Running command - done!

[OK] Updated Ionic CLI to 3.20.0! 🎉

Please re-run your command.

Note: You can downgrade to your old version by running: npm i -g ionic@3.19.0 $ ionic serve --lab --locale

The Ionic CLI has an update available (3.19.0 => 3.20.0)! Would you like to in stall it?

and again, …and again.

Related code:

insert short code snippets here

Other information:

Ionic info: (run ionic info from a terminal/cmd prompt and paste output below):

cli packages: (/usr/local/lib/node_modules)

@ionic/cli-utils  : 1.19.0
ionic (Ionic CLI) : 3.19.0

global packages:

cordova (Cordova CLI) : 7.1.0 

local packages:

@ionic/app-scripts : 3.1.2
Cordova Platforms  : browser 5.0.1 ios 4.5.4
Ionic Framework    : ionic-angular 3.9.2

System:

ios-deploy : 1.9.2 
Node       : v8.6.0
npm        : 5.5.1 
OS         : macOS Sierra
Xcode      : Xcode 9.2 Build version 9C40b 

Environment Variables:

ANDROID_HOME : not set

Misc:

backend : pro

Copied from original issue: ionic-team/ionic#14215

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:10 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
imhoffdcommented, Sep 24, 2018

Yeah, or ensure that npm uninstall -g ionic is removing the /usr/local/lib/node_modules/ionic folder and the bin file at /usr/local/bin/ionic.

1reaction
bfontanacommented, Mar 26, 2018

Yap, likely, so issue can be closed. I’ll report back if problem arises again.

Thanks!!!

Regards

El 26 mar. 2018, a las 15:18, dwieeb notifications@github.com escribió:

So I would guess the original update via npm failed somehow.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/ionic-team/ionic-cli/issues/3021#issuecomment-376262488, or mute the thread https://github.com/notifications/unsubscribe-auth/ALFKrwLlPuU3sJo4ddakTAEdFFWLzP_1ks5tiTECgaJpZM4S3KYC.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Can't build Ionic3 app since updating to ionic@3.19.0
After upgrading to ionic 3.18, some time ago, there was some problems and I couldn't run my app anymore. I forgot what were...
Read more >
Unable to update to 3.20.0 - ionic-v3
I keep getting this prompt to update: The Ionic CLI has an update available (3.19.1 => 3.20.0)! Would you like to install it?...
Read more >
ionic 3.19.0-alpha.4349ad06 | Snyk
netmask is a library to parse IPv4 CIDR blocks. Affected versions of this package are vulnerable to Server-side Request Forgery (SSRF). It incorrectly...
Read more >
angular update Code Example - Code Grepper
npm update @angular/cli -g.
Read more >
Ionic Forum - Latest topics - RSSing.com
For this, I asked help with LS server support teams they are saying ionic may have limited ... The Ionic CLI has an...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found