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 ([email protected])
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] > [email protected] 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] > [email protected] 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)?
if you notice script will run nested after some time:
[npm] [npm] > npm.cmd run ionic:serve
[npm] [npm] [npm] > npm.cmd run ionic:serve
...........
[npm] [npm] [npm] [npm] [npm] [npm] [npm] [npm] > npm.cmd run ionic:serve
which amateur wrote this script anyway ?
Your npm scripts suggest you have overridden the build/serve. See the docs.
Unless you absolutely need them, I would recommend removing the ionic:serve and ionic:build scripts in your package.json.
I have tried that. The issue is still there. The issue should not be closed
> ionic cordova run android --device -l --ssl --debug
> npm.cmd run ionic:serve -- --address localhost --port 8101 --livereload-port 35730 --dev-logger-port 53704 --nobrowser --iscordovaserve --platform android --target cordova
[npm] > [email protected] ionic:serve e:\Projects\xxx\src
[npm] > ionic serve -l --no-open "--address" "localhost" "--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 localhost --port 8101 --livereload-port 35730 --dev-logger-port 53704 --nobrowser --platform android
[INFO] Waiting for connectivity with npm...
[npm] [npm] > [email protected] ionic:serve e:\Projects\xxx\src
[npm] [npm] > ionic serve -l --no-open "--address" "localhost" "--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.
[npm] [npm] > npm.cmd run ionic:serve -- --address localhost --port 8101 --livereload-port 35730 --dev-logger-port 53704 --nobrowser --platform android
[INFO] Waiting for connectivity with npm...
[npm] [INFO] Waiting for connectivity with npm...
I have tried that. The issue is still there. The issue should not be closed
> [email protected] run3 e:\Projects\xxx\src
> ionic cordova run android -c -l --address=192.168.1.28 --verbose
ionic:lib Terminal info: { ci: false, shell: 'C:\\WINDOWS\\system32\\cmd.exe', tty: true, windows: true } +0ms
ionic:lib CLI global options: { _: [ 'cordova', 'run', 'android' ], help: null, h: null, verbose: true, quiet: null, interactive: true, color: true, confirm: null, json: null, c: true, l: true, address: '192.168.1.28', project: null, '--': [] } +7ms
ionic:lib:project Project type from config: Ionic 2/3 (ionic-angular) +0ms
ionic:lib:project Project details: { configPath: 'e:\\Projects\\xxx\\xxx\\src\\ionic.config.json', errors: [], context: 'app', type: 'ionic-angular' } +1ms
ionic Context: { binPath: 'C:\\Users\\Jasko\\AppData\\Roaming\\nvm\\v10.15.3\\node_modules\\ionic\\bin\\ionic', libPath: 'C:\\Users\\Jasko\\AppData\\Roaming\\nvm\\v10.15.3\\node_modules\\ionic', execPath: 'e:\\Projects\\xxx\\xxx\\src', version: '5.4.2' } +0ms
ionic:lib:integrations:cordova:config Loading Cordova Config (config.xml: 'e:\\Projects\\xxx\\xxx\\src\\config.xml', package.json: 'e:\\Projects\\xxx\\xxx\\src\\package.json') +0ms
ionic:commands:run Native platform devices: [] +0ms
ionic:lib:integrations:cordova:config Loading Cordova Config (config.xml: 'e:\\Projects\\xxx\\xxx\\src\\config.xml', package.json: 'e:\\Projects\\xxx\\xxx\\src\\package.json') +9s
ionic:lib:telemetry Sending telemetry for command: 'ionic cordova run' [ 'android',
ionic:lib:telemetry '--consolelogs',
ionic:lib:telemetry '--livereload',
ionic:lib:telemetry '--verbose',
ionic:lib:telemetry '--interactive',
ionic:lib:telemetry '--color',
ionic:lib:telemetry '--address=192.168.1.28' ] +0ms
ionic:lib:serve serve options: { '--': [],
ionic:lib:serve address: '192.168.1.28',
ionic:lib:serve browser: undefined,
ionic:lib:serve browserOption: undefined,
ionic:lib:serve devapp: false,
ionic:lib:serve engine: 'cordova',
ionic:lib:serve externalAddressRequired: false,
ionic:lib:serve lab: false,
ionic:lib:serve labHost: 'localhost',
ionic:lib:serve labPort: 8200,
ionic:lib:serve livereload: true,
ionic:lib:serve open: false,
ionic:lib:serve platform: 'android',
ionic:lib:serve port: 8100,
ionic:lib:serve proxy: true,
ionic:lib:serve project: undefined,
ionic:lib:serve verbose: false,
ionic:lib:serve sourcemaps: undefined,
ionic:lib:serve consolelogs: true,
ionic:lib:serve serverlogs: false,
ionic:lib:serve livereloadPort: 35729,
ionic:lib:serve notificationPort: 53703,
ionic:lib:serve env: undefined } +0ms
ionic:lib:hooks Looking for ionic:serve:before npm script. +0ms
ionic:utils-network checking for open port on 0.0.0.0:8100 +0ms
ionic:utils-network checking for open port on 0.0.0.0:35729 +20ms
ionic:utils-network checking for open port on 0.0.0.0:53703 +1ms
ionic:utils-network checking for open port on fe80::1d3d:7504:9f67:26f:8100 +13ms
ionic:utils-network checking for open port on fe80::1d3d:7504:9f67:26f:35729 +2ms
ionic:utils-network checking for open port on fe80::1d3d:7504:9f67:26f:53703 +6ms
ionic:utils-network checking for open port on 192.168.56.1:8100 +4ms
ionic:utils-network checking for open port on 192.168.56.1:35729 +1ms
ionic:utils-network checking for open port on 192.168.56.1:53703 +1ms
ionic:utils-network checking for open port on fe80::58c:1803:fe82:b8c6:8100 +5ms
ionic:utils-network checking for open port on fe80::58c:1803:fe82:b8c6:35729 +2ms
ionic:utils-network checking for open port on fe80::58c:1803:fe82:b8c6:53703 +4ms
ionic:utils-network checking for open port on 192.168.99.1:8100 +4ms
ionic:utils-network checking for open port on 192.168.99.1:35729 +1ms
ionic:utils-network checking for open port on 192.168.99.1:53703 +1ms
ionic:utils-network checking for open port on fe80::2405:862:d61a:9764:8100 +6ms
ionic:utils-network checking for open port on fe80::2405:862:d61a:9764:35729 +1ms
ionic:utils-network checking for open port on fe80::2405:862:d61a:9764:53703 +3ms
ionic:utils-network checking for open port on 192.168.1.28:8100 +3ms
ionic:utils-network checking for open port on 192.168.1.28:35729 +1ms
ionic:utils-network checking for open port on 192.168.1.28:53703 +1ms
ionic:utils-network checking for open port on ::1:8100 +3ms
ionic:utils-network checking for open port on ::1:35729 +1ms
ionic:utils-network checking for open port on ::1:53703 +7ms
ionic:utils-network checking for open port on 127.0.0.1:8100 +4ms
ionic:utils-network checking for open port on 127.0.0.1:35729 +1ms
ionic:utils-network checking for open port on 127.0.0.1:53703 +1ms
ionic:lib:project:ionic-angular:serve Looking for ionic:serve npm script. +0ms
ionic:lib:project:ionic-angular:serve Using ionic:serve npm script. +12ms
> npm.cmd run ionic:serve -- --address 192.168.1.28 --port 8100 --livereload-port 35729 --dev-logger-port 53703 --consolelogs --nobrowser --iscordovaserve --platform android --target cordova
[npm] > [email protected] ionic:serve e:\Projects\xxx\src
[npm] > ionic serve -l --no-open "--address" "192.168.1.28" "--port" "8100" "--livereload-port" "35729" "--dev-logger-port" "53703" "--consolelogs" "--nobrowser" "--iscordovaserve" "--platform" "android" "--target" "cordova"
ionic:lib:serve awaiting TCP connection to 192.168.1.28:8100 +2s
[npm] 2019-10-15T06:14:07.922Z ionic:lib Terminal info: { ci: false, shell: 'C:\\WINDOWS\\system32\\cmd.exe', tty: false, windows: true }
[npm] 2019-10-15T06:14:07.926Z ionic:lib CLI global options: { _: [ 'serve' ], help: null, h: null, verbose: null, quiet: null, interactive: false, color: true, confirm: null, json: null, l: true, open: false, address: '192.168.1.28', port: 8100, 'livereload-port': 35729, 'dev-logger-port': 53703, consolelogs: true, nobrowser: true, iscordovaserve: true, platform: 'android', target: 'cordova', project: null, '--': [] }
[npm] 2019-10-15T06:14:08.346Z ionic:lib:project Project type from config: Ionic 2/3 (ionic-angular)
[npm] 2019-10-15T06:14:08.347Z ionic:lib:project Project details: { configPath: 'e:\\Projects\\xxx\\xxx\\src\\ionic.config.json', errors: [], context: 'app', type: 'ionic-angular' }
[npm] 2019-10-15T06:14:08.354Z ionic Context: { binPath: 'C:\\Users\\Jasko\\AppData\\Roaming\\nvm\\v10.15.3\\node_modules\\ionic\\bin\\ionic', libPath: 'C:\\Users\\Jasko\\AppData\\Roaming\\nvm\\v10.15.3\\node_modules\\ionic', execPath: 'e:\\Projects\\xxx\\xxx\\src', version: '5.4.2' }
[npm] [WARN] The --nobrowser option has been deprecated. Please use --no-open.
[npm] 2019-10-15T06:14:08.453Z ionic:lib:serve serve options: { '--': [],
[npm] address: '192.168.1.28',
[npm] browser: undefined,
[npm] browserOption: undefined,
[npm] devapp: false,
[npm] engine: 'browser',
[npm] externalAddressRequired: false,
[npm] lab: true,
[npm] labHost: 'localhost',
[npm] labPort: 8200,
[npm] livereload: true,
[npm] open: false,
[npm] platform: 'android',
[npm] port: 8100,
[npm] proxy: true,
[npm] project: undefined,
[npm] verbose: false,
[npm] sourcemaps: undefined,
[npm] consolelogs: true,
[npm] serverlogs: false,
[npm] livereloadPort: 35729,
[npm] notificationPort: 53703,
[npm] env: undefined }
[npm] 2019-10-15T06:14:08.466Z ionic:lib:telemetry Sending telemetry for command: 'ionic serve' [ '--consolelogs',
[npm] '--lab',
[npm] '--interactive',
[npm] '--color',
[npm] '--address=192.168.1.28',
[npm] '--nobrowser',
[npm] '--iscordovaserve',
[npm] '--platform=android',
[npm] '--target=cordova' ]
[npm] 2019-10-15T06:14:08.472Z ionic:lib:hooks Looking for ionic:serve:before npm script.
[npm] 2019-10-15T06:14:08.474Z ionic:utils-network checking for open port on 0.0.0.0:8100
[npm] 2019-10-15T06:14:08.492Z ionic:utils-network checking for open port on 0.0.0.0:35729
[npm] 2019-10-15T06:14:08.493Z ionic:utils-network checking for open port on 0.0.0.0:53703
[npm] 2019-10-15T06:14:08.501Z ionic:utils-network checking for open port on fe80::1d3d:7504:9f67:26f:8100
[npm] 2019-10-15T06:14:08.502Z ionic:utils-network checking for open port on fe80::1d3d:7504:9f67:26f:35729
[npm] 2019-10-15T06:14:08.502Z ionic:utils-network checking for open port on fe80::1d3d:7504:9f67:26f:53703
[npm] 2019-10-15T06:14:08.510Z ionic:utils-network checking for open port on 192.168.56.1:8100
[npm] 2019-10-15T06:14:08.510Z ionic:utils-network checking for open port on 192.168.56.1:35729
[npm] 2019-10-15T06:14:08.510Z ionic:utils-network checking for open port on 192.168.56.1:53703
[npm] 2019-10-15T06:14:08.513Z ionic:utils-network checking for open port on fe80::58c:1803:fe82:b8c6:8100
[npm] 2019-10-15T06:14:08.514Z ionic:utils-network checking for open port on fe80::58c:1803:fe82:b8c6:35729
[npm] 2019-10-15T06:14:08.514Z ionic:utils-network checking for open port on fe80::58c:1803:fe82:b8c6:53703
[npm] 2019-10-15T06:14:08.517Z ionic:utils-network checking for open port on 192.168.99.1:8100
[npm] 2019-10-15T06:14:08.517Z ionic:utils-network checking for open port on 192.168.99.1:35729
[npm] 2019-10-15T06:14:08.517Z ionic:utils-network checking for open port on 192.168.99.1:53703
[npm] 2019-10-15T06:14:08.520Z ionic:utils-network checking for open port on fe80::2405:862:d61a:9764:8100
[npm] 2019-10-15T06:14:08.521Z ionic:utils-network checking for open port on fe80::2405:862:d61a:9764:35729
[npm] 2019-10-15T06:14:08.521Z ionic:utils-network checking for open port on fe80::2405:862:d61a:9764:53703
[npm] 2019-10-15T06:14:08.525Z ionic:utils-network checking for open port on 192.168.1.28:8100
[npm] 2019-10-15T06:14:08.525Z ionic:utils-network checking for open port on 192.168.1.28:35729
[npm] 2019-10-15T06:14:08.525Z ionic:utils-network checking for open port on 192.168.1.28:53703
[npm] 2019-10-15T06:14:08.528Z ionic:utils-network checking for open port on ::1:8100
[npm] 2019-10-15T06:14:08.528Z ionic:utils-network checking for open port on ::1:35729
[npm] 2019-10-15T06:14:08.528Z ionic:utils-network checking for open port on ::1:53703
[npm] 2019-10-15T06:14:08.532Z ionic:utils-network checking for open port on 127.0.0.1:8100
[npm] 2019-10-15T06:14:08.533Z ionic:utils-network checking for open port on 127.0.0.1:35729
[npm] 2019-10-15T06:14:08.533Z ionic:utils-network checking for open port on 127.0.0.1:53703
[npm] 2019-10-15T06:14:08.538Z ionic:lib:project:ionic-angular:serve Looking for ionic:serve npm script.
[npm] 2019-10-15T06:14:08.724Z ionic:lib:project:ionic-angular:serve Using ionic:serve npm script.
[npm] > npm.cmd run ionic:serve -- --address 192.168.1.28 --port 8100 --livereload-port 35729 --dev-logger-port 53703 --consolelogs --nobrowser --platform android
[INFO] Waiting for connectivity with npm...
[npm] [npm] > [email protected] ionic:serve e:\Projects\xxx\src
[npm] 2019-10-15T06:14:12.340Z ionic:lib:serve awaiting TCP connection to 192.168.1.28:8100
[npm] [npm] > ionic serve -l --no-open "--address" "192.168.1.28" "--port" "8100" "--livereload-port" "35729" "--dev-logger-port" "53703" "--consolelogs" "--nobrowser" "--platform" "android"
[npm] [npm] 2019-10-15T06:14:15.422Z ionic:lib Terminal info: { ci: false, shell: 'C:\\WINDOWS\\system32\\cmd.exe', tty: false, windows: true }
[npm] [npm] 2019-10-15T06:14:15.427Z ionic:lib CLI global options: { _: [ 'serve' ], help: null, h: null, verbose: null, quiet: null, interactive: false, color: true, confirm: null, json: null, l: true, open: false, address: '192.168.1.28', port: 8100, 'livereload-port': 35729, 'dev-logger-port': 53703, consolelogs: true, nobrowser: true, platform: 'android', project: null, '--': [] }
[npm] [npm] 2019-10-15T06:14:15.925Z ionic:lib:project Project type from config: Ionic 2/3 (ionic-angular)
[npm] [npm] 2019-10-15T06:14:15.926Z ionic:lib:project Project details: { configPath: 'e:\\Projects\\xxx\\xxx\\src\\ionic.config.json', errors: [], context: 'app', type: 'ionic-angular' }
[npm] [npm] 2019-10-15T06:14:15.934Z ionic Context: { binPath: 'C:\\Users\\Jasko\\AppData\\Roaming\\nvm\\v10.15.3\\node_modules\\ionic\\bin\\ionic', libPath: 'C:\\Users\\Jasko\\AppData\\Roaming\\nvm\\v10.15.3\\node_modules\\ionic', execPath: 'e:\\Projects\\xxx\\xxx\\src', version: '5.4.2' }
[npm] [npm] [WARN] The --nobrowser option has been deprecated. Please use --no-open.
[npm] [npm] 2019-10-15T06:14:16.067Z ionic:lib:serve serve options: { '--': [],
[npm] [npm] address: '192.168.1.28',
[npm] [npm] browser: undefined,
[npm] [npm] browserOption: undefined,
[npm] [npm] devapp: false,
[npm] [npm] engine: 'browser',
[npm] [npm] externalAddressRequired: false,
[npm] [npm] lab: true,
[npm] [npm] labHost: 'localhost',
[npm] [npm] labPort: 8200,
[npm] [npm] livereload: true,
[npm] [npm] open: false,
[npm] [npm] platform: 'android',
[npm] [npm] port: 8100,
[npm] [npm] proxy: true,
[npm] [npm] project: undefined,
[npm] [npm] verbose: false,
[npm] [npm] sourcemaps: undefined,
[npm] [npm] consolelogs: true,
[npm] [npm] serverlogs: false,
[npm] [npm] livereloadPort: 35729,
[npm] [npm] notificationPort: 53703,
[npm] [npm] env: undefined }
[npm] [npm] 2019-10-15T06:14:16.078Z ionic:lib:telemetry Sending telemetry for command: 'ionic serve' [ '--consolelogs',
[npm] [npm] '--lab',
[npm] [npm] '--interactive',
[npm] [npm] '--color',
[npm] [npm] '--address=192.168.1.28',
[npm] [npm] '--nobrowser',
[npm] [npm] '--platform=android' ]
[npm] [npm] 2019-10-15T06:14:16.093Z ionic:lib:hooks Looking for ionic:serve:before npm script.
[npm] [npm] 2019-10-15T06:14:16.095Z ionic:utils-network checking for open port on 0.0.0.0:8100
[npm] [npm] 2019-10-15T06:14:16.112Z ionic:utils-network checking for open port on 0.0.0.0:35729
[npm] [npm] 2019-10-15T06:14:16.112Z ionic:utils-network checking for open port on 0.0.0.0:53703
[npm] [npm] 2019-10-15T06:14:16.119Z ionic:utils-network checking for open port on fe80::1d3d:7504:9f67:26f:8100
[npm] [npm] 2019-10-15T06:14:16.120Z ionic:utils-network checking for open port on fe80::1d3d:7504:9f67:26f:35729
[npm] [npm] 2019-10-15T06:14:16.121Z ionic:utils-network checking for open port on fe80::1d3d:7504:9f67:26f:53703
[npm] [npm] 2019-10-15T06:14:16.123Z ionic:utils-network checking for open port on 192.168.56.1:8100
[npm] [npm] 2019-10-15T06:14:16.124Z ionic:utils-network checking for open port on 192.168.56.1:35729
[npm] [npm] 2019-10-15T06:14:16.124Z ionic:utils-network checking for open port on 192.168.56.1:53703
[npm] [npm] 2019-10-15T06:14:16.127Z ionic:utils-network checking for open port on fe80::58c:1803:fe82:b8c6:8100
[npm] [npm] 2019-10-15T06:14:16.127Z ionic:utils-network checking for open port on fe80::58c:1803:fe82:b8c6:35729
[npm] [npm] 2019-10-15T06:14:16.127Z ionic:utils-network checking for open port on fe80::58c:1803:fe82:b8c6:53703
[npm] [npm] 2019-10-15T06:14:16.129Z ionic:utils-network checking for open port on 192.168.99.1:8100
[npm] [npm] 2019-10-15T06:14:16.129Z ionic:utils-network checking for open port on 192.168.99.1:35729
[npm] [npm] 2019-10-15T06:14:16.130Z ionic:utils-network checking for open port on 192.168.99.1:53703
[npm] [npm] 2019-10-15T06:14:16.132Z ionic:utils-network checking for open port on fe80::2405:862:d61a:9764:8100
[npm] [npm] 2019-10-15T06:14:16.132Z ionic:utils-network checking for open port on fe80::2405:862:d61a:9764:35729
[npm] [npm] 2019-10-15T06:14:16.132Z ionic:utils-network checking for open port on fe80::2405:862:d61a:9764:53703
[npm] [npm] 2019-10-15T06:14:16.154Z ionic:utils-network checking for open port on 192.168.1.28:8100
[npm] [npm] 2019-10-15T06:14:16.154Z ionic:utils-network checking for open port on 192.168.1.28:35729
[npm] [npm] 2019-10-15T06:14:16.154Z ionic:utils-network checking for open port on 192.168.1.28:53703
[npm] [npm] 2019-10-15T06:14:16.157Z ionic:utils-network checking for open port on ::1:8100
[npm] [npm] 2019-10-15T06:14:16.157Z ionic:utils-network checking for open port on ::1:35729
[npm] [npm] 2019-10-15T06:14:16.157Z ionic:utils-network checking for open port on ::1:53703
[npm] [npm] 2019-10-15T06:14:16.160Z ionic:utils-network checking for open port on 127.0.0.1:8100
[npm] [npm] 2019-10-15T06:14:16.160Z ionic:utils-network checking for open port on 127.0.0.1:35729
[npm] [npm] 2019-10-15T06:14:16.161Z ionic:utils-network checking for open port on 127.0.0.1:53703
[npm] [npm] 2019-10-15T06:14:16.164Z ionic:lib:project:ionic-angular:serve Looking for ionic:serve npm script.
[npm] [npm] 2019-10-15T06:14:16.494Z ionic:lib:project:ionic-angular:serve Using ionic:serve npm script.
[INFO] Waiting for connectivity with npm...
[npm] [npm] > npm.cmd run ionic:serve -- --address 192.168.1.28 --port 8100 --livereload-port 35729 --dev-logger-port 53703 --consolelogs --nobrowser --platform android
[npm] [INFO] Waiting for connectivity with npm...
[npm] [npm] [npm] > [email protected] ionic:serve e:\Projects\xxx\src
[npm] [npm] [npm] > ionic serve -l --no-open "--address" "192.168.1.28" "--port" "8100" "--livereload-port" "35729" "--dev-logger-port" "53703" "--consolelogs" "--nobrowser" "--platform" "android"
[npm] [npm] 2019-10-15T06:14:19.980Z ionic:lib:serve awaiting TCP connection to 192.168.1.28:8100
[npm] [npm] [npm] 2019-10-15T06:14:21.849Z ionic:lib Terminal info: { ci: false, shell: 'C:\\WINDOWS\\system32\\cmd.exe', tty: false, windows: true }
[npm] [npm] [npm] 2019-10-15T06:14:21.853Z ionic:lib CLI global options: { _: [ 'serve' ], help: null, h: null, verbose: null, quiet: null, interactive: false, color: true, confirm: null, json: null, l: true, open: false, address: '192.168.1.28', port: 8100, 'livereload-port': 35729, 'dev-logger-port': 53703, consolelogs: true, nobrowser: true, platform: 'android', project: null, '--': [] }
[npm] [npm] [npm] 2019-10-15T06:14:22.325Z ionic:lib:project Project type from config: Ionic 2/3 (ionic-angular)
[npm] [npm] [npm] 2019-10-15T06:14:22.325Z ionic:lib:project Project details: { configPath: 'e:\\Projects\\xxx\\xxx\\src\\ionic.config.json', errors: [], context: 'app', type: 'ionic-angular' }
[npm] [npm] [npm] 2019-10-15T06:14:22.332Z ionic Context: { binPath: 'C:\\Users\\Jasko\\AppData\\Roaming\\nvm\\v10.15.3\\node_modules\\ionic\\bin\\ionic', libPath: 'C:\\Users\\Jasko\\AppData\\Roaming\\nvm\\v10.15.3\\node_modules\\ionic', execPath: 'e:\\Projects\\xxx\\xxx\\src', version: '5.4.2' }
[npm] [INFO] Waiting for connectivity with npm...
[npm] [npm] [npm] [WARN] The --nobrowser option has been deprecated. Please use --no-open.
[npm] [npm] [npm] 2019-10-15T06:14:22.426Z ionic:lib:serve serve options: { '--': [],
[npm] [npm] [npm] address: '192.168.1.28',
[npm] [npm] [npm] browser: undefined,
[npm] [npm] [npm] browserOption: undefined,
[npm] [npm] [npm] devapp: false,
[npm] [npm] [npm] engine: 'browser',
[npm] [npm] [npm] externalAddressRequired: false,
[npm] [npm] [npm] lab: true,
[npm] [npm] [npm] labHost: 'localhost',
[npm] [npm] [npm] labPort: 8200,
[npm] [npm] [npm] livereload: true,
[npm] [npm] [npm] open: false,
[npm] [npm] [npm] platform: 'android',
[npm] [npm] [npm] port: 8100,
[npm] [npm] [npm] proxy: true,
[npm] [npm] [npm] project: undefined,
[npm] [npm] [npm] verbose: false,
[npm] [npm] [npm] sourcemaps: undefined,
[npm] [npm] [npm] consolelogs: true,
[npm] [npm] [npm] serverlogs: false,
[npm] [npm] [npm] livereloadPort: 35729,
[npm] [npm] [npm] notificationPort: 53703,
[npm] [npm] [npm] env: undefined }
[npm] [npm] [npm] 2019-10-15T06:14:22.441Z ionic:lib:telemetry Sending telemetry for command: 'ionic serve' [ '--consolelogs',
[npm] [npm] [npm] '--lab',
[npm] [npm] [npm] '--interactive',
[npm] [npm] [npm] '--color',
[npm] [npm] [npm] '--address=192.168.1.28',
[npm] [npm] [npm] '--nobrowser',
[npm] [npm] [npm] '--platform=android' ]
[npm] [npm] [npm] 2019-10-15T06:14:22.445Z ionic:lib:hooks Looking for ionic:serve:before npm script.
[npm] [npm] [npm] 2019-10-15T06:14:22.448Z ionic:utils-network checking for open port on 0.0.0.0:8100
[npm] [npm] [npm] 2019-10-15T06:14:22.469Z ionic:utils-network checking for open port on 0.0.0.0:35729
[npm] [npm] [npm] 2019-10-15T06:14:22.469Z ionic:utils-network checking for open port on 0.0.0.0:53703
[npm] [npm] [npm] 2019-10-15T06:14:22.476Z ionic:utils-network checking for open port on fe80::1d3d:7504:9f67:26f:8100
[npm] [npm] [npm] 2019-10-15T06:14:22.477Z ionic:utils-network checking for open port on fe80::1d3d:7504:9f67:26f:35729
[npm] [npm] [npm] 2019-10-15T06:14:22.477Z ionic:utils-network checking for open port on fe80::1d3d:7504:9f67:26f:53703
[npm] [npm] [npm] 2019-10-15T06:14:22.480Z ionic:utils-network checking for open port on 192.168.56.1:8100
[npm] [npm] [npm] 2019-10-15T06:14:22.480Z ionic:utils-network checking for open port on 192.168.56.1:35729
[npm] [npm] [npm] 2019-10-15T06:14:22.480Z ionic:utils-network checking for open port on 192.168.56.1:53703
[npm] [npm] [npm] 2019-10-15T06:14:22.483Z ionic:utils-network checking for open port on fe80::58c:1803:fe82:b8c6:8100
[npm] [npm] [npm] 2019-10-15T06:14:22.483Z ionic:utils-network checking for open port on fe80::58c:1803:fe82:b8c6:35729
[npm] [npm] [npm] 2019-10-15T06:14:22.484Z ionic:utils-network checking for open port on fe80::58c:1803:fe82:b8c6:53703
[npm] [npm] [npm] 2019-10-15T06:14:22.486Z ionic:utils-network checking for open port on 192.168.99.1:8100
[npm] [npm] [npm] 2019-10-15T06:14:22.486Z ionic:utils-network checking for open port on 192.168.99.1:35729
[npm] [npm] [npm] 2019-10-15T06:14:22.486Z ionic:utils-network checking for open port on 192.168.99.1:53703
[npm] [npm] [npm] 2019-10-15T06:14:22.489Z ionic:utils-network checking for open port on fe80::2405:862:d61a:9764:8100
[npm] [npm] [npm] 2019-10-15T06:14:22.489Z ionic:utils-network checking for open port on fe80::2405:862:d61a:9764:35729
[npm] [npm] [npm] 2019-10-15T06:14:22.489Z ionic:utils-network checking for open port on fe80::2405:862:d61a:9764:53703
[npm] [npm] [npm] 2019-10-15T06:14:22.492Z ionic:utils-network checking for open port on 192.168.1.28:8100
[npm] [npm] [npm] 2019-10-15T06:14:22.493Z ionic:utils-network checking for open port on 192.168.1.28:35729
[npm] [npm] [npm] 2019-10-15T06:14:22.493Z ionic:utils-network checking for open port on 192.168.1.28:53703
[npm] [npm] [npm] 2019-10-15T06:14:22.495Z ionic:utils-network checking for open port on ::1:8100
[npm] [npm] [npm] 2019-10-15T06:14:22.495Z ionic:utils-network checking for open port on ::1:35729
[npm] [npm] [npm] 2019-10-15T06:14:22.495Z ionic:utils-network checking for open port on ::1:53703
[npm] [npm] [npm] 2019-10-15T06:14:22.524Z ionic:utils-network checking for open port on 127.0.0.1:8100
[npm] [npm] [npm] 2019-10-15T06:14:22.525Z ionic:utils-network checking for open port on 127.0.0.1:35729
[npm] [npm] [npm] 2019-10-15T06:14:22.525Z ionic:utils-network checking for open port on 127.0.0.1:53703
[npm] [npm] [npm] 2019-10-15T06:14:22.528Z ionic:lib:project:ionic-angular:serve Looking for ionic:serve npm script.
[INFO] Waiting for connectivity with npm...
[npm] [npm] [npm] 2019-10-15T06:14:22.736Z ionic:lib:project:ionic-angular:serve Using ionic:serve npm script.
[npm] [npm] [npm] > npm.cmd run ionic:serve -- --address 192.168.1.28 --port 8100 --livereload-port 35729 --dev-logger-port 53703 --consolelogs --nobrowser --platform android
[npm] [npm] [INFO] Waiting for connectivity with npm...
[npm] [npm] [npm] [npm] > [email protected] ionic:serve e:\Projects\xxx\src
[npm] [npm] [npm] [npm] > ionic serve -l --no-open "--address" "192.168.1.28" "--port" "8100" "--livereload-port" "35729" "--dev-logger-port" "53703" "--consolelogs" "--nobrowser" "--platform" "android"
[npm] [npm] [npm] 2019-10-15T06:14:26.401Z ionic:lib:serve awaiting TCP connection to 192.168.1.28:8100
[npm] [INFO] Waiting for connectivity with npm...
[INFO] Waiting for connectivity with npm...
[npm] [npm] [npm] [npm] 2019-10-15T06:14:29.280Z ionic:lib Terminal info: { ci: false, shell: 'C:\\WINDOWS\\system32\\cmd.exe', tty: false, windows: true }
[npm] [npm] [npm] [npm] 2019-10-15T06:14:29.289Z ionic:lib CLI global options: { _: [ 'serve' ], help: null, h: null, verbose: null, quiet: null, interactive: false, color: true, confirm: null, json: null, l: true, open: false, address: '192.168.1.28', port: 8100, 'livereload-port': 35729, 'dev-logger-port': 53703, consolelogs: true, nobrowser: true, platform: 'android', project: null, '--': [] }
[npm] [npm] [npm] [npm] 2019-10-15T06:14:29.808Z ionic:lib:project Project type from config: Ionic 2/3 (ionic-angular)
[npm] [npm] [npm] [npm] 2019-10-15T06:14:29.813Z ionic:lib:project Project details: { configPath: 'e:\\Projects\\xxx\\xxx\\src\\ionic.config.json', errors: [], context: 'app', type: 'ionic-angular' }
[npm] [npm] [npm] [npm] 2019-10-15T06:14:29.821Z ionic Context: { binPath: 'C:\\Users\\Jasko\\AppData\\Roaming\\nvm\\v10.15.3\\node_modules\\ionic\\bin\\ionic', libPath: 'C:\\Users\\Jasko\\AppData\\Roaming\\nvm\\v10.15.3\\node_modules\\ionic', execPath: 'e:\\Projects\\xxx\\xxx\\src', version: '5.4.2' }
[npm] [npm] [npm] [npm] [WARN] The --nobrowser option has been deprecated. Please use --no-open.
[npm] [npm] [npm] [npm] 2019-10-15T06:14:29.910Z ionic:lib:serve serve options: { '--': [],
[npm] [npm] [npm] [npm] address: '192.168.1.28',
[npm] [npm] [npm] [npm] browser: undefined,
[npm] [npm] [npm] [npm] browserOption: undefined,
[npm] [npm] [npm] [npm] devapp: false,
[npm] [npm] [npm] [npm] engine: 'browser',
[npm] [npm] [npm] [npm] externalAddressRequired: false,
[npm] [npm] [npm] [npm] lab: true,
[npm] [npm] [npm] [npm] labHost: 'localhost',
[npm] [npm] [npm] [npm] labPort: 8200,
[npm] [npm] [npm] [npm] livereload: true,
[npm] [npm] [npm] [npm] open: false,
[npm] [npm] [npm] [npm] platform: 'android',
[npm] [npm] [npm] [npm] port: 8100,
[npm] [npm] [npm] [npm] proxy: true,
[npm] [npm] [npm] [npm] project: undefined,
[npm] [npm] [npm] [npm] verbose: false,
[npm] [npm] [npm] [npm] sourcemaps: undefined,
[npm] [npm] [npm] [npm] consolelogs: true,
[npm] [npm] [npm] [npm] serverlogs: false,
[npm] [npm] [npm] [npm] livereloadPort: 35729,
[npm] [npm] [npm] [npm] notificationPort: 53703,
[npm] [npm] [npm] [npm] env: undefined }
[npm] [npm] [npm] [npm] 2019-10-15T06:14:29.921Z ionic:lib:telemetry Sending telemetry for command: 'ionic serve' [ '--consolelogs',
[npm] [npm] [npm] [npm] '--lab',
[npm] [npm] [npm] [npm] '--interactive',
[npm] [npm] [npm] [npm] '--color',
[npm] [npm] [npm] [npm] '--address=192.168.1.28',
[npm] [npm] [npm] [npm] '--nobrowser',
[npm] [npm] [npm] [npm] '--platform=android' ]
[npm] [npm] [npm] [npm] 2019-10-15T06:14:29.929Z ionic:lib:hooks Looking for ionic:serve:before npm script.
[npm] [npm] [npm] [npm] 2019-10-15T06:14:29.931Z ionic:utils-network checking for open port on 0.0.0.0:8100
[npm] [npm] [npm] [npm] 2019-10-15T06:14:29.947Z ionic:utils-network checking for open port on 0.0.0.0:35729
[npm] [npm] [npm] [npm] 2019-10-15T06:14:29.948Z ionic:utils-network checking for open port on 0.0.0.0:53703
[npm] [npm] [npm] [npm] 2019-10-15T06:14:29.955Z ionic:utils-network checking for open port on fe80::1d3d:7504:9f67:26f:8100
[npm] [npm] [npm] [npm] 2019-10-15T06:14:29.957Z ionic:utils-network checking for open port on fe80::1d3d:7504:9f67:26f:35729
[npm] [npm] [npm] [npm] 2019-10-15T06:14:29.957Z ionic:utils-network checking for open port on fe80::1d3d:7504:9f67:26f:53703
[npm] [npm] [npm] [npm] 2019-10-15T06:14:29.960Z ionic:utils-network checking for open port on 192.168.56.1:8100
[npm] [npm] [npm] [npm] 2019-10-15T06:14:29.960Z ionic:utils-network checking for open port on 192.168.56.1:35729
[npm] [npm] [npm] [npm] 2019-10-15T06:14:29.961Z ionic:utils-network checking for open port on 192.168.56.1:53703
[npm] [npm] [npm] [npm] 2019-10-15T06:14:29.963Z ionic:utils-network checking for open port on fe80::58c:1803:fe82:b8c6:8100
[npm] [npm] [npm] [npm] 2019-10-15T06:14:29.964Z ionic:utils-network checking for open port on fe80::58c:1803:fe82:b8c6:35729
[npm] [npm] [npm] [npm] 2019-10-15T06:14:29.964Z ionic:utils-network checking for open port on fe80::58c:1803:fe82:b8c6:53703
[npm] [npm] [npm] [npm] 2019-10-15T06:14:29.967Z ionic:utils-network checking for open port on 192.168.99.1:8100
[npm] [npm] [npm] [npm] 2019-10-15T06:14:29.967Z ionic:utils-network checking for open port on 192.168.99.1:35729
[npm] [npm] [npm] [npm] 2019-10-15T06:14:29.969Z ionic:utils-network checking for open port on 192.168.99.1:53703
[npm] [npm] [INFO] Waiting for connectivity with npm...
[npm] [npm] [npm] [npm] 2019-10-15T06:14:29.973Z ionic:utils-network checking for open port on fe80::2405:862:d61a:9764:8100
[npm] [npm] [npm] [npm] 2019-10-15T06:14:29.973Z ionic:utils-network checking for open port on fe80::2405:862:d61a:9764:35729
[npm] [npm] [npm] [npm] 2019-10-15T06:14:29.973Z ionic:utils-network checking for open port on fe80::2405:862:d61a:9764:53703
[npm] [npm] [npm] [npm] 2019-10-15T06:14:29.976Z ionic:utils-network checking for open port on 192.168.1.28:8100
[npm] [npm] [npm] [npm] 2019-10-15T06:14:29.976Z ionic:utils-network checking for open port on 192.168.1.28:35729
[npm] [npm] [npm] [npm] 2019-10-15T06:14:29.976Z ionic:utils-network checking for open port on 192.168.1.28:53703
[2m[npm][22m [2m[npm][22m [2m[npm][22m [2m[npm][22m 2019-10-15T06:14:29.979Z ionic:utils-network checking for open port on ::1:8100
[npm] [npm] [npm] [npm] 2019-10-15T06:14:29.979Z ionic:utils-network checking for open port on ::1:35729
[npm] [npm] [npm] [npm] 2019-10-15T06:14:29.979Z ionic:utils-network checking for open port on ::1:53703
[npm] [npm] [npm] [npm] 2019-10-15T06:14:29.982Z ionic:utils-network checking for open port on 127.0.0.1:8100
[npm] [npm] [npm] [npm] 2019-10-15T06:14:29.982Z ionic:utils-network checking for open port on 127.0.0.1:35729
[npm] [npm] [npm] [npm] 2019-10-15T06:14:29.982Z ionic:utils-network checking for open port on 127.0.0.1:53703
[npm] [npm] [npm] [npm] 2019-10-15T06:14:29.986Z ionic:lib:project:ionic-angular:serve Looking for ionic:serve npm script.
^CTerminate batch job (Y/N)? [npm] [npm] [npm] [npm] 2019-10-15T06:14:30.225Z ionic:lib:project:ionic-angular:serve Using ionic:serve npm script.
[npm] [npm] [npm] [npm] > npm.cmd run ionic:serve -- --address 192.168.1.28 --port 8100 --livereload-port 35729 --dev-logger-port 53703 --consolelogs --nobrowser --platform android
[npm] [npm] [npm] [INFO] Waiting for connectivity with npm...
[INFO] Waiting for connectivity with npm...
ionic:utils-process onBeforeExit handler: 'SIGINT' received +0ms
ionic:utils-process onBeforeExit handler: running 1 functions +1ms
[npm] 2019-10-15T06:14:31.725Z ionic:utils-process onBeforeExit handler: 'SIGINT' received
[npm] 2019-10-15T06:14:31.725Z ionic:utils-process onBeforeExit handler: running 1 functions
[npm] Terminate batch job (Y/N)? [INFO] Waiting for connectivity with npm...
[npm] [npm] 2019-10-15T06:14:31.732Z ionic:utils-process onBeforeExit handler: 'SIGINT' received
[npm] [npm] 2019-10-15T06:14:31.732Z ionic:utils-process onBeforeExit handler: running 1 functions
[npm] [npm] Terminate batch job (Y/N)? [npm] 2019-10-15T06:14:31.799Z ionic:utils-process onBeforeExit handler: 'SIGINT' received
[npm] [npm] [npm] 2019-10-15T06:14:31.799Z ionic:utils-process onBeforeExit handler: running 1 functions
[npm] [npm] [npm] [npm] 2019-10-15T06:14:31.876Z ionic:utils-process onBeforeExit handler: 'SIGINT' received
[npm] [npm] [npm] [npm] 2019-10-15T06:14:31.876Z ionic:utils-process onBeforeExit handler: running 1 functions
[npm] [npm] [npm] ^C2019-10-15T06:14:32.845Z ionic:utils-process error while killing process tree for 6868: { Error: Command failed: taskkill /pid 6868 /T /F
[npm] [npm] [npm] ^C
[npm] [npm] [npm] at ChildProcess.exithandler (child_process.js:294:12)
[npm] [npm] [npm] at ChildProcess.emit (events.js:189:13)
[npm] [npm] [npm] at maybeClose (internal/child_process.js:970:16)
[npm] [npm] [npm] at Process.ChildProcess._handle.onexit (internal/child_process.js:259:5)
[npm] [npm] [npm] killed: false,
[npm] [npm] [npm] code: 3221225786,
[npm] [npm] [npm] signal: null,
[npm] [npm] [npm] cmd: 'taskkill /pid 6868 /T /F' }
[npm] [npm] [npm] 2019-10-15T06:14:32.845Z ionic:utils-process onBeforeExit handler: error from function: { Error: Command failed: taskkill /pid 6868 /T /F
[npm] [npm] [npm] ^C
[npm] [npm] [npm] at ChildProcess.exithandler (child_process.js:294:12)
[npm] [npm] [npm] at ChildProcess.emit (events.js:189:13)
[npm] [npm] [npm] at maybeClose (internal/child_process.js:970:16)
[npm] [npm] [npm] at Process.ChildProcess._handle.onexit (internal/child_process.js:259:5)
[npm] [npm] [npm] killed: false,
[npm] [npm] [npm] code: 3221225786,
[npm] [npm] [npm] signal: null,
[npm] [npm] [npm] cmd: 'taskkill /pid 6868 /T /F' }
[npm] [npm] [npm] 2019-10-15T06:14:32.845Z ionic:utils-process onBeforeExit handler: killing self (exit code 0, signal 'SIGINT')
[npm] [npm] ^C2019-10-15T06:14:32.865Z ionic:utils-process error while killing process tree for 17300: { Error: Command failed: taskkill /pid 17300 /T /F
[npm] [npm] ^C
[npm] [npm] at ChildProcess.exithandler (child_process.js:294:12)
[npm] [npm] at ChildProcess.emit (events.js:189:13)
[npm] [npm] at maybeClose (internal/child_process.js:970:16)
[npm] [npm] at Process.ChildProcess._handle.onexit (internal/child_process.js:259:5)
[npm] [npm] killed: false,
[npm] [npm] code: 3221225786,
[npm] [npm] signal: null,
[npm] [npm] cmd: 'taskkill /pid 17300 /T /F' }
[npm] [npm] 2019-10-15T06:14:32.865Z ionic:utils-process onBeforeExit handler: error from function: { Error: Command failed: taskkill /pid 17300 /T /F
[npm] [npm] ^C
[npm] [npm] at ChildProcess.exithandler (child_process.js:294:12)
[npm] [npm] at ChildProcess.emit (events.js:189:13)
[npm] [npm] at maybeClose (internal/child_process.js:970:16)
[npm] [npm] at Process.ChildProcess._handle.onexit (internal/child_process.js:259:5)
[npm] [npm] killed: false,
[npm] [npm] code: 3221225786,
[npm] [npm] signal: null,
[npm] [npm] cmd: 'taskkill /pid 17300 /T /F' }
[npm] [npm] 2019-10-15T06:14:32.865Z ionic:utils-process onBeforeExit handler: killing self (exit code 0, signal 'SIGINT')
[npm] ^C2019-10-15T06:14:33.003Z ionic:utils-process onBeforeExit handler: killing self (exit code 0, signal 'SIGINT')
ionic:utils-process onBeforeExit handler: killing self (exit code 0, signal 'SIGINT') +271ms
y
e:\Projects\xxx\src>
issue solved. now you can close it
Most helpful comment
Your npm scripts suggest you have overridden the build/serve. See the docs.
Unless you absolutely need them, I would recommend removing the
ionic:serveandionic:buildscripts in yourpackage.json.