Skip to content

ionic serve --browser chrome doesn't open Chrome #1840

Closed
@sryze

Description

@sryze

Short description of the problem:

Using ionic serve --browser chrome doesn't open Chrome on macOS Sierra. However, if you specify the full path to the Google Chrome app it works:

ionic serve --browser /Applications/Google\ Chrome.app/Contents/MacOS/Google\ Chrome

What behavior are you expecting?

Expect Ionic to open a new browser tab in Chrome.

Cordova CLI: 6.4.0
Ionic CLI Version: 2.1.18
Ionic App Lib Version: 2.1.9
ios-deploy version: 1.9.0
ios-sim version: 5.0.13
OS: macOS Sierra
Node Version: v7.0.0
Xcode version: Xcode 8.2.1 Build version 8C1002

Other information:

Google Chrome: Version 55.0.2883.95 (64-bit)
OS: macOS Sierra 10.12.2 (16C67)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions