Skip to content

Instantly share code, notes, and snippets.

@marckassay
Created March 5, 2019 03:04
Show Gist options
  • Save marckassay/7323e388abbd1f50db9104231e257327 to your computer and use it in GitHub Desktop.
Save marckassay/7323e388abbd1f50db9104231e257327 to your computer and use it in GitHub Desktop.
Troubleshooting an issue with ionic. Created for this issue: https://github.com/ionic-team/ionic-cli/issues/3852
E:\temp\dsds\jio [master]> ionic serve --verbose
ionic:lib Terminal info: { tty: true, ci: false, windows: true } +0ms
ionic:lib CLI global options: { _: [ 'serve' ], help: null, h: null, verbose: true, quiet: null, interactive: true, color: true, confirm: null, json: null, project: null, '--': [] } +7ms
ionic:lib:project Project type from config: @ionic/angular (angular) +0ms
ionic:lib:project Project details: { configPath: 'E:\\temp\\dsds\\jio\\ionic.config.json', errors: [], context: 'app', type: 'angular' } +1ms
ionic Context: { binPath: 'C:\\Users\\marck\\AppData\\Roaming\\nvm\\v10.13.0\\node_modules\\ionic\\bin\\ionic', libPath: 'C:\\Users\\marck\\AppData\\Roaming\\nvm\\v10.13.0\\node_modules\\ionic', execPath: 'E:\\temp\\dsds\\jio', version: '4.10.3' } +0ms
ionic:lib:telemetry Sending telemetry for command: 'ionic serve' [ '--verbose', '--interactive', '--color' ] +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 fe80::ec4c:d080:72c9:15ac:8100 +13ms
ionic:utils-network checking for open port on 192.168.0.8:8100 +3ms
ionic:utils-network checking for open port on ::1:8100 +1ms
ionic:utils-network checking for open port on 127.0.0.1:8100 +2ms
ionic:lib:serve Looking for ionic:serve npm script. +0ms
> ng run app:serve --host=0.0.0.0 --port=8100
[ng] 'sh' is not recognized as an internal or external command,
[ng] operable program or batch file.
ionic:lib:serve received unexpected close for ng (code: 1) +72ms
[ERROR] ng has unexpectedly closed (exit code 1).
The Ionic CLI will exit. Please check any output above for error details.
ionic:cli-framework:utils:process onBeforeExit handler: process.exit received +0ms
ionic:cli-framework:utils:process onBeforeExit handler: running 1 functions +1ms
ionic:cli-framework:utils:process error while killing process tree for 8736: { Error: Command failed: taskkill /pid 8736 /T /F
ionic:cli-framework:utils:process ERROR: The process "8736" not found.
ionic:cli-framework:utils:process
ionic:cli-framework:utils:process at ChildProcess.exithandler (child_process.js:289:12)
ionic:cli-framework:utils:process at ChildProcess.emit (events.js:182:13)
ionic:cli-framework:utils:process at maybeClose (internal/child_process.js:962:16)
ionic:cli-framework:utils:process at Process.ChildProcess._handle.onexit (internal/child_process.js:251:5)
ionic:cli-framework:utils:process killed: false,
ionic:cli-framework:utils:process code: 128,
ionic:cli-framework:utils:process signal: null,
ionic:cli-framework:utils:process cmd: 'taskkill /pid 8736 /T /F' } +197ms
ionic:cli-framework:utils:process onBeforeExit handler: error from function: { Error: Command failed: taskkill /pid 8736 /T /F
ionic:cli-framework:utils:process ERROR: The process "8736" not found.
ionic:cli-framework:utils:process
ionic:cli-framework:utils:process at ChildProcess.exithandler (child_process.js:289:12)
ionic:cli-framework:utils:process at ChildProcess.emit (events.js:182:13)
ionic:cli-framework:utils:process at maybeClose (internal/child_process.js:962:16)
ionic:cli-framework:utils:process at Process.ChildProcess._handle.onexit (internal/child_process.js:251:5)
ionic:cli-framework:utils:process killed: false,
ionic:cli-framework:utils:process code: 128,
ionic:cli-framework:utils:process signal: null,
ionic:cli-framework:utils:process cmd: 'taskkill /pid 8736 /T /F' } +4ms
ionic:cli-framework:utils:process onBeforeExit handler: exiting (exit code 1) +1ms
E:\temp\dsds\jio [master]> ionic info
Ionic:
ionic (Ionic CLI) : 4.10.3 (C:\Users\marck\AppData\Roaming\nvm\v10.13.0\node_modules\ionic)
Ionic Framework : @ionic/angular 4.0.2
@angular-devkit/build-angular : 0.12.4
@angular-devkit/schematics : 7.2.4
@angular/cli : 7.2.4
@ionic/angular-toolkit : 1.4.0
System:
NodeJS : v10.13.0 (C:\Program Files\nodejs\node.exe)
npm : 6.8.0
OS : Windows 10
E:\temp\dsds\jio [master]> gc .\ionic.config.json
{
"name": "jio",
"integrations": {},
"type": "angular"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment