Ionic serve "fail to start server"


#1

C:\myApp>ionic serve
Starting app-scripts server: --address 0.0.0.0 --port 8100 --livereload-port
35729 --dev-logger-port 53703 --nobrowser - Ctrl+C to cancel
[10:20:51] watch started …
[10:20:51] build dev started …

… Uhoh. Got error listen EACCES 0.0.0.0:35729 …
Error: listen EACCES 0.0.0.0:35729
at Object._errnoException (util.js:1022:11)
at _exceptionWithHostPort (util.js:1044:20)
at Server.setupListenHandle [as _listen2] (net.js:1367:14)
at listenInCluster (net.js:1408:12)
at doListen (net.js:1517:7)
at _combinedTickCallback (internal/process/next_tick.js:141:11)
at process._tickCallback (internal/process/next_tick.js:180:9)

C:\myApp> ionic info

C:\myApp>ionic info

cli packages: (C:\Users\shriji9724057155\AppData\Roaming\npm\node_modules)

@ionic/cli-utils  : 1.19.2
ionic (Ionic CLI) : 3.20.0

global packages:

cordova (Cordova CLI) : 8.0.0

local packages:

@ionic/app-scripts : 3.1.8
Cordova Platforms  : none
Ionic Framework    : ionic-angular 3.9.2

System:

Node : v8.10.0
npm  : 5.6.0
OS   : Windows 7

Environment Variables:

ANDROID_HOME : C:\Users\shriji9724057155\.android

Misc:

backend : pro

C:\myApp>


#2

What is your ionic info output?
What is the output on ionic serve --verbose?


#3

C:\myApp>ionic serve --verbose
[DEBUG] Reason for not using local CLI: LOCAL_CLI_NOT_FOUND
[DEBUG] CLI flags: { interactive: true, confirm: false }
[DEBUG] { cwd: ‘C:\myApp’, local: false, binPath:
‘C:\Users\shriji9724057155\AppData\Roaming\npm\node_modules\ionic
\bin\ionic’,
libPath:
‘C:\Users\shriji9724057155\AppData\Roaming\npm\node_modules\ionic
\dist\index.js’
}
[DEBUG] Daemon found (pid: 6412)
Starting app-scripts server: --address 0.0.0.0 --port 8100 --livereload-port
35729 --dev-logger-port 53703 --nobrowser - Ctrl+C to cancel
[13:40:59] watch started …
[13:40:59] build dev started …

… Uhoh. Got error listen EACCES 0.0.0.0:35729 …
Error: listen EACCES 0.0.0.0:35729
at Object._errnoException (util.js:1022:11)
at _exceptionWithHostPort (util.js:1044:20)
at Server.setupListenHandle [as _listen2] (net.js:1367:14)
at listenInCluster (net.js:1408:12)
at doListen (net.js:1517:7)
at _combinedTickCallback (internal/process/next_tick.js:141:11)
at process._tickCallback (internal/process/next_tick.js:180:9)

C:\myApp>