Ionic Serve Parameter Is Incorrect

#1

Up until recently Ionic Serve has been working fine for me. I now get the following error “http://localhost:8100 The parameter is incorrect” after the build finishes. The app does not open in the browser. I can manually enter the address in the browser, but the app does not run properly. I’ve attached the verbose output from running ionic serve. Can you suggest what is causing this error.

> ionic-app-scripts serve --address 0.0.0.0 --port 8100 --livereload-port 35729 --dev-logger-port 53703 --nobrowser
[app-scripts] e[2m[12:09:58]e[22me[36m  ionic-app-scripts 3.0.1 e[39m
[app-scripts] Fri, 24 Aug 2018 02:09:58 GMT tinylr:server Configuring HTTP server
[app-scripts] Fri, 24 Aug 2018 02:09:58 GMT express:application set "x-powered-by" to true
[app-scripts] Fri, 24 Aug 2018 02:09:58 GMT express:application set "etag" to 'weak'
[app-scripts] Fri, 24 Aug 2018 02:09:58 GMT express:application set "etag fn" to [Function: wetag]
[app-scripts] Fri, 24 Aug 2018 02:09:58 GMT express:application set "env" to 'development'
[app-scripts] Fri, 24 Aug 2018 02:09:58 GMT express:application set "query parser" to 'extended'
[app-scripts] Fri, 24 Aug 2018 02:09:58 GMT express:application set "query parser fn" to [Function: parseExtendedQueryString]
[app-scripts] Fri, 24 Aug 2018 02:09:58 GMT express:application set "subdomain offset" to 2
[app-scripts] Fri, 24 Aug 2018 02:09:58 GMT express:application set "trust proxy" to false
[app-scripts] Fri, 24 Aug 2018 02:09:58 GMT express:application set "trust proxy fn" to [Function: trustNone]
[app-scripts] Fri, 24 Aug 2018 02:09:58 GMT express:application booting in development mode
[app-scripts] Fri, 24 Aug 2018 02:09:58 GMT express:application set "view" to [Function: View]
[app-scripts] Fri, 24 Aug 2018 02:09:58 GMT express:application set "views" to 'C:\\Data\\Development\\Projects\\docsontapv2\\views'
[app-scripts] Fri, 24 Aug 2018 02:09:58 GMT express:application set "jsonp callback name" to 'callback'
[app-scripts] Fri, 24 Aug 2018 02:09:58 GMT express:application set "serveConfig" to { httpPort: 8100, host: '0.0.0.0', hostBaseUrl: 'http://localhost:8100', rootDir: 'C:\\Data\\Development\\Projects\\docsontapv2', wwwDir: 'C:\\Data\\Development\\Projects\\docsontapv2\\www', buildDir: 'C:\\Data\\Development\\Projects\\docsontapv2\\www\\build', isCordovaServe: false, launchBrowser: false, launchLab: false, browserToLaunch: null, useLiveReload: true, liveReloadPort: 35729, notificationPort: 53703, useServerLogs: false, useProxy: true, notifyOnConsoleLog: false, devapp: false }
[app-scripts] Fri, 24 Aug 2018 02:09:58 GMT express:router use '/' query
[app-scripts] Fri, 24 Aug 2018 02:09:58 GMT express:router:layer new '/'
[app-scripts] Fri, 24 Aug 2018 02:09:58 GMT express:router use '/' expressInit
[app-scripts] Fri, 24 Aug 2018 02:09:58 GMT express:router:layer new '/'
[app-scripts] Fri, 24 Aug 2018 02:09:58 GMT express:router:route new '/'
[app-scripts] Fri, 24 Aug 2018 02:09:58 GMT express:router:layer new '/'
[app-scripts] Fri, 24 Aug 2018 02:09:58 GMT express:router:route get '/'
[app-scripts] Fri, 24 Aug 2018 02:09:58 GMT express:router:layer new '/'
[app-scripts] Fri, 24 Aug 2018 02:09:58 GMT express:router use '/' serveStatic
[app-scripts] Fri, 24 Aug 2018 02:09:58 GMT express:router:layer new '/'
[app-scripts] Fri, 24 Aug 2018 02:09:58 GMT express:router use '/__ion-dev-server' serveStatic
[app-scripts] Fri, 24 Aug 2018 02:09:58 GMT express:router:layer new '/__ion-dev-server'
[app-scripts] Fri, 24 Aug 2018 02:09:58 GMT express:router use '/ionic-lab/static' serveStatic
[app-scripts] Fri, 24 Aug 2018 02:09:58 GMT express:router:layer new '/ionic-lab/static'
[app-scripts] Fri, 24 Aug 2018 02:09:58 GMT express:router:route new '/ionic-lab'
[app-scripts] Fri, 24 Aug 2018 02:09:58 GMT express:router:layer new '/ionic-lab'
[app-scripts] Fri, 24 Aug 2018 02:09:58 GMT express:router:route get '/ionic-lab'
[app-scripts] Fri, 24 Aug 2018 02:09:58 GMT express:router:layer new '/'
[app-scripts] Fri, 24 Aug 2018 02:09:58 GMT express:router:route new '/ionic-lab/api/v1/cordova'
[app-scripts] Fri, 24 Aug 2018 02:09:58 GMT express:router:layer new '/ionic-lab/api/v1/cordova'
[app-scripts] Fri, 24 Aug 2018 02:09:58 GMT express:router:route get '/ionic-lab/api/v1/cordova'
[app-scripts] Fri, 24 Aug 2018 02:09:58 GMT express:router:layer new '/'
[app-scripts] Fri, 24 Aug 2018 02:09:58 GMT express:router:route new '/ionic-lab/api/v1/app-config'
[app-scripts] Fri, 24 Aug 2018 02:09:58 GMT express:router:layer new '/ionic-lab/api/v1/app-config'
[app-scripts] Fri, 24 Aug 2018 02:09:58 GMT express:router:route get '/ionic-lab/api/v1/app-config'
[app-scripts] Fri, 24 Aug 2018 02:09:58 GMT express:router:layer new '/'
[app-scripts] Fri, 24 Aug 2018 02:09:58 GMT express:router:route new '/cordova.js'
[app-scripts] Fri, 24 Aug 2018 02:09:58 GMT express:router:layer new '/cordova.js'
[app-scripts] Fri, 24 Aug 2018 02:09:58 GMT express:router:route get '/cordova.js'
[app-scripts] Fri, 24 Aug 2018 02:09:58 GMT express:router:layer new '/'
[app-scripts] Fri, 24 Aug 2018 02:09:58 GMT express:router:route get '/cordova.js'
[app-scripts] Fri, 24 Aug 2018 02:09:58 GMT express:router:layer new '/'
[app-scripts] Fri, 24 Aug 2018 02:09:58 GMT express:router:route new '/cordova_plugins.js'
[app-scripts] Fri, 24 Aug 2018 02:09:58 GMT express:router:layer new '/cordova_plugins.js'
[app-scripts] Fri, 24 Aug 2018 02:09:58 GMT express:router:route get '/cordova_plugins.js'
[app-scripts] Fri, 24 Aug 2018 02:09:58 GMT express:router:layer new '/'
[app-scripts] Fri, 24 Aug 2018 02:09:58 GMT express:router:route new '/plugins/*'
[app-scripts] Fri, 24 Aug 2018 02:09:58 GMT express:router:layer new '/plugins/*'
[app-scripts] Fri, 24 Aug 2018 02:09:58 GMT express:router:route get '/plugins/*'
[app-scripts] Fri, 24 Aug 2018 02:09:58 GMT express:router:layer new '/'
[app-scripts] e[2m[12:09:58]e[22m  watch started e[2m...e[22m 
[app-scripts] e[2m[12:09:58]e[22m  build dev started e[2m...e[22m 
[app-scripts] e[2m[12:09:58]e[22m  clean started e[2m...e[22m 
[app-scripts] e[2m[12:09:58]e[22m  clean finished e[2min 9 mse[22m 
[app-scripts] e[2m[12:09:58]e[22m  copy started e[2m...e[22m 
[app-scripts] e[2m[12:09:59]e[22m  deeplinks started e[2m...e[22m 
[app-scripts] e[2m[12:09:59]e[22m  deeplinks finished e[2min 669 mse[22m 
[app-scripts] e[2m[12:09:59]e[22m  transpile started e[2m...e[22m 
[app-scripts] e[2m[12:10:14]e[22m  transpile finished e[2min 14.49 se[22m 
[app-scripts] e[2m[12:10:14]e[22m  preprocess started e[2m...e[22m 
[app-scripts] e[2m[12:10:14]e[22m  preprocess finished e[2min 1 mse[22m 
[app-scripts] e[2m[12:10:14]e[22m  webpack started e[2m...e[22m 
[app-scripts] e[2m[12:10:15]e[22m  copy finished e[2min 16.25 se[22m 
[app-scripts] e[2m[12:10:31]e[22m  webpack finished e[2min 17.45 se[22m 
[app-scripts] e[2m[12:10:31]e[22m  sass started e[2m...e[22m 
[app-scripts] e[2m[12:10:38]e[22m  sass finished e[2min 6.50 se[22m 
[app-scripts] e[2m[12:10:38]e[22m  postprocess started e[2m...e[22m 
[app-scripts] e[2m[12:10:38]e[22m  postprocess finished e[2min 17 mse[22m 
[app-scripts] e[2m[12:10:38]e[22m  lint started e[2m...e[22m 
[app-scripts] e[2m[12:10:38]e[22m  build dev finished e[2min 39.78 se[22m 

[INFO] Development server running!
       
       Local: http://localhost:8100
       External: http://172.18.12.54:8100, http://10.0.0.39:8100
       DevApp: DocsOnTapV2@8100 on DESKTOP-CIVIN5I
       
       Use Ctrl+C to quit this process

[INFO] Browser window opened to http://localhost:8100!

Thanks,

David

#2

Your output doesn’t contain the “The parameter…” error message you mentioned.

#3

Yes that is correct. The error message does not appear in the console. It appears as a pop up message in the browser.

#4

Please show a screenshot of the error message.

#5

image

#6

Actually this is not a browser pop-up. The pop-up is coming from the command prompt window.

#7

Ok, seems the CLI is executing a command to open the browser that your command line doesn’t understand the parameter.

This sounds like a case for https://github.com/ionic-team/ionic-cli/issues - search for existing issues or create a new one including this screenshot and your information (OS, OS version, command line used etc).

PS: And ionic info output of course. Are you on the most recent version of the CLI?

#8

Yes, although I had the problem prior to upgrading from an earlier version (3.2 I think). Thanks for your input.

#9

Anyone who is still facing the issue? If so, then Ping me I have the solution.