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-5.4.7 breaks command options

See original GitHub issue

Description:

$ npm install -g ionic@5.4.6
$  ionic serve --devapp
> ng run app:ionic-cordova-serve --host=0.0.0.0 --port=8100 --cordova-mock --consolelogs --consolelogs-port=53703

$ npm install -g ionic@5.4.7
$ ionic serve --devapp
> ng run app:serve --host=localhost --port=8100
$ ionic info

Ionic:

   Ionic CLI                     : 5.4.7 (/Users/liuyb/homebrew/lib/node_modules/ionic)
   Ionic Framework               : @ionic/angular 4.11.5
   @angular-devkit/build-angular : 0.801.3
   @angular-devkit/schematics    : 8.1.3
   @angular/cli                  : 8.1.3
   @ionic/angular-toolkit        : 2.1.1

Cordova:

   Cordova CLI       : 9.0.0 (cordova-lib@9.0.1)
   Cordova Platforms : android 8.1.0, ios 5.0.1
   Cordova Plugins   : cordova-plugin-ionic-keyboard 2.2.0, cordova-plugin-ionic-webview 4.1.3, (and 6 other plugins)

Utility:

   cordova-res : 0.8.1 
   native-run  : not installed

System:

   ios-deploy : 1.9.4
   ios-sim    : 8.0.2
   NodeJS     : v12.12.0 (/Users/liuyb/homebrew/Cellar/node/12.12.0/bin/node)
   npm        : 6.13.1
   OS         : macOS Catalina
   Xcode      : Xcode 11.0 Build version 11A420a

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:1
  • Comments:13 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
patrickbussmanncommented, Nov 24, 2019

@dwieeb Can you please close this issue only when you was able to publish the 5.4.8 to NPM? Thank you.

0reactions
dkrahncommented, Nov 25, 2019

Thank you @patrickbussmann. I found the error. It was not related to Ionic. It’s a PowerShell error. From CMD or Linux shell, the commands are passed ok. But for some reason PowerShell , since last windows defenders intelligence security update, ignores one of the --. So to run it in PowerShell just have to add one more --. So for CMD/Linux Shell:

ionic cordova build android --prod --release -- -- --keystore=KEYSTORE_FILE.jks --storePassword=STORE_PASS --alias=ALIAS --password=KEY_PASS

And for PowerShell:

ionic cordova build android --prod --release -- -- -- --keystore=KEYSTORE_FILE.jks --storePassword=STORE_PASS --alias=ALIAS --password=KEY_PASS
Read more comments on GitHub >

github_iconTop Results From Across the Web

IONIQ 5 | Hyundai
Heralding a new era of mobility that is full of firsts: Experience the IONIQ 5—a world where anything is possible. Prestige Full Option...
Read more >
2023 IONIQ 5 Limited | Trim Features & Options | Hyundai USA
Click to view trim features & specs on the 2023 IONIQ 5 Limited. Featuring 225 hp, Vision roof, HUD display, Smart Park, &...
Read more >
2023 IONIQ 5 | Electric SUV, Overview | Hyundai USA
Get to know the 2023 IONIQ 5 electric SUV, winner of 3 World Car Awards featuring power up to 320 hp, EPA-est. 303...
Read more >
Electrified Vehicles | Explore Electric Models | Hyundai USA
Explore Hyundai electrified vehicles to find one that's right for you. Click here to view our electric, plug-in hybrid, hybrid, and fuel cell...
Read more >
2022 Ioniq 5 Quick Reference Guide - MyHyundai
Command. (If equipped). Example. NAVIGATION. Find Address. <House #, Street, ... Disables the power window switches ... the regenerative brakes.
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