Ionic run browser on Ubuntu


$ ionic run browser

on my system (Ubuntu 16.04)
leads to this error :

Error executing "google-chrome --user-data-dir=/tmp/temp_chrome_user_data_dir_for_cordova http://localhost:8000/index.html": /bin/sh: 1: google-chrome: not found

I would like to be able to debug using the plugins (not like ionic serve).


The error seems pretty self-explanatory: there isn’t anything named “google-chrome” on your PATH anywhere. So either add one or figure out some way to change what browser binary it is trying to use.

ok thanks, this works fine:

$ ionic run browser --target="chromium"
1 Like