You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Re-opening #2160 with v3:
Several distributions don't have google-chrome installed but the open source chromium.
ionic-cli does not detect this, but fails hard with:
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
Steps to Reproduce:
Example repo: N/A
ionic start issue blank
ionic cordova platform add browser
ionic cordova run browser
Output:
ionic cordova run browser
[WARN] Detected @ionic/cli-plugin-cordova in your package.json.
As of CLI 3.8, it is no longer needed. You can uninstall it:
npm uninstall --save-dev --save-exact @ionic/cli-plugin-cordova
[WARN] Detected @ionic/cli-plugin-ionic-angular in your package.json.
As of CLI 3.8, it is no longer needed. You can uninstall it:
npm uninstall --save-dev --save-exact @ionic/cli-plugin-ionic-angular
[INFO] Running app-scripts build: --platform browser --target cordova
[06:43:13] build dev started ...
[06:43:13] clean started ...
[06:43:13] clean finished in 5 ms
[06:43:13] copy started ...
[06:43:13] transpile started ...
[06:43:17] transpile finished in 3.80 s
[06:43:17] preprocess started ...
[06:43:17] deeplinks started ...
[06:43:17] deeplinks finished in 77 ms
[06:43:17] preprocess finished in 77 ms
[06:43:17] webpack started ...
[06:43:17] copy finished in 4.07 s
[06:43:29] webpack finished in 11.70 s
[06:43:29] sass started ...
[06:43:30] sass finished in 1.28 s
[06:43:30] postprocess started ...
[06:43:30] removed unused font files
[06:43:30] postprocess finished in 12 ms
[06:43:30] lint started ...
[06:43:30] build dev finished in 16.95 s
> ionic cordova prepare
> cordova prepare
✔ Running command - done!
> cordova run browser
Running command: /home/user/issue/platforms/browser/cordova/build
Cleaning Browser project
[06:52:11] lint finished in 3.21 s
Running command: /home/user/issue/platforms/browser/cordova/run --nobuild
Static file server running @ http://localhost:8000/index.html
CTRL + C to shut down
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
[OK] Your app has been deployed.
Did you know you can live-reload changes from your app with --livereload?
Description:
Re-opening #2160 with v3:
Several distributions don't have
google-chrome
installed but the open sourcechromium
.ionic-cli does not detect this, but fails hard with:
Steps to Reproduce:
Example repo: N/A
Output:
My
ionic info
:$ ionic info
cli packages: (/home/user/ionic/test001/perimeterlights_guiapp/node_modules)
global packages:
local packages:
System:
Other Information:
Thw workaround in #2160 (comment) does work, although the file needs to be in $PATH.
The text was updated successfully, but these errors were encountered: