Skip to content

npm stuck in endless loop when running Ionic cordova run android --livereload #4180

@jalle007

Description

@jalle007

I think one day this whole npm mess will collapse under its weight

Now I am unable to run the app in livereload mode.

command: ionic cordova run android --livereload

  Ionic info:

   Ionic CLI          : 5.4.2 (C:\Users\Jasko\AppData\Roaming\nvm\v10.15.3\node_modules\ionic)
   Ionic Framework    : ionic-angular 3.9.3
   @ionic/app-scripts : 3.2.4

Cordova:

   Cordova CLI       : 9.0.0 (cordova-lib@9.0.1)
   Cordova Platforms : android 8.1.0, browser 6.0.0
   Cordova Plugins   : cordova-plugin-ionic-keyboard 2.1.3, cordova-plugin-ionic-webview 1.2.1, (and 25 other plugins)

Utility:

   cordova-res : 0.6.0 (update available: 0.8.0)
   native-run  : 0.2.8

System:

   Android SDK Tools : 26.1.1 (e:\Android\SDK)
   NodeJS            : v10.15.3 (C:\Program Files\nodejs\node.exe)
   npm               : 6.4.1
   OS                : Windows 10

Output:

> ionic cordova run android --address 192.168.0.11  --device -l --ssl --debug

> npm.cmd run ionic:serve -- --address 192.168.0.11 --port 8101 --livereload-port 35730 --dev-logger-port 53704 --nobrowser --iscordovaserve --platform android --target cordova
[npm] > Real.Me@1.0.1 ionic:serve e:\Projects\xxx\src
[npm] > ionic serve -l --no-open "--address" "192.168.0.11" "--port" "8101" "--livereload-port" "35730" "--dev-logger-port" "53704" "--nobrowser" "--iscordovaserve" "--platform" "android" "--target" "cordova"
[npm] [WARN] The --nobrowser option has been deprecated. Please use --no-open.
[npm] > npm.cmd run ionic:serve -- --address 192.168.0.11 --port 8101 --livereload-port 35730 --dev-logger-port 53704 --nobrowser --platform android
[INFO] Waiting for connectivity with npm...
[npm] [npm] > Real.Me@1.0.1 ionic:serve e:\Projects\xxx\src
[npm] [npm] > ionic serve -l --no-open "--address" "192.168.0.11" "--port" "8101" "--livereload-port" "35730" "--dev-logger-port" "53704" "--nobrowser" "--platform" "android"
[npm] [npm] [WARN] The --nobrowser option has been deprecated. Please use --no-open.
[INFO] Waiting for connectivity with npm...
[npm] [npm] > npm.cmd run ionic:serve -- --address 192.168.0.11 --port 8101 --livereload-port 35730 --dev-logger-port 53704 --nobrowser --platform android
[npm] [INFO] Waiting for connectivity with npm...
Terminate batch job (Y/N)? [npm] Terminate batch job (Y/N)?

What the hell is going on here ??

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions