I need to stop Ionic CLI from checking for updates whenever I run an ionic command. This prevents me from even running the app offline. An illustration is as :
C:\Users\TO-004\Desktop\EzyMarketplace\EzyExtension-App-2017-master>ionic serve
? The Ionic CLI has an update available (3.3.0 => 3.4.0)! Would you like to install it? (Y/n)
Ionic seems to compare the release date by the timestamp of "lastCommand" in ~/.ionic/config.json
. If that date is later than the release date it will not ask you the question.
Just change the timestamp to a future date, not an ideal solution but it seems to work.
In 3.5.0 you can turn off the CLI's interactive mode by either using the --no-interactive
flag or by manually setting cliFlags.interactive
to false
in ~/.ionic/config.json
.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With