Ionic serve --nobrowser still looks for browser, if address specified

I want to run the ng server as a draft publication environment for my app. Specifying --nobrowser results in an error message below, if an address is specified.

[root@ip-172-26-10-161 frontend]# ionic serve -b --address -p 8100
[INFO] Starting app-scripts server: --nobrowser --b --address --p 8100 --port 8100 --livereload-port 35729 --r 35729 - Ctrl+C to cancel

TypeError: Cannot read property ‘launchBrowser’ of undefined

1 Like

same problem when I want to run the emulator on a specific ip address

Post your ionic info output please.
Also please post the exact command you are executing. Thanks.

I have the same error, i use Ubuntu 16.04

cli packages: (/home/leonardo/3ionicprojects/cdm_admin/node_modules)

@ionic/cli-plugin-cordova       : 1.6.2
@ionic/cli-plugin-ionic-angular : 1.4.1
@ionic/cli-utils                : 1.7.0
ionic (Ionic CLI)               : 3.7.0

global packages:

Cordova CLI : 7.0.1 

local packages:

@ionic/app-scripts : 2.0.2
Cordova Platforms  : android 6.2.3
Ionic Framework    : ionic-angular 3.5.2


Node : v6.10.3
OS   : Linux 4.4
npm  : 3.10.10

Please create an issue at
This sounds like a simple and clear bug.

But, there is a newer version of the things that could cause this:

You should upgrade this first to see if this solves the problem.

And what is the last version @ionic/app-scripts ?

See here:

I just update to the latest version and the error continue

The latest version is @ionic/app-scripts : 2.1.3

Then it sounds like a case for an issue.

@Sujan12 seems the error is in the new version of ionic 3.6.0.
After several hours, i have to downgrade to version 3.5.0, i delete the node_modules/ folder, npm install again and the problem is resolved.

Then add this information to the issue you will create. Later post a link to the issue here as well please.