mnyon-grandkru / knowledgebase

An issue tracker of error messages discovered while developing as well as their solution.
https://github.com/mnyon-grandkru/knowledgebase/issues
MIT License
2 stars 0 forks source link

gh auth browser option does not open the browser #103

Closed mnyon-grandkru closed 1 year ago

mnyon-grandkru commented 1 year ago

Running a gh auth refresh command results in the following:

➜  fantasm-vue2 git:(main) gh auth refresh
! Using secure storage could break installed extensions
! First copy your one-time code: A60D-EE6C
Press Enter to open github.com in your browser...

Command '/usr/bin/x-www-browser' requires the chromium snap to be installed.
Please install it with:

snap install chromium

/usr/bin/xdg-open: 869: firefox: not found
/usr/bin/xdg-open: 869: iceweasel: not found
/usr/bin/xdg-open: 869: seamonkey: not found
/usr/bin/xdg-open: 869: mozilla: not found
/usr/bin/xdg-open: 869: epiphany: not found
/usr/bin/xdg-open: 869: konqueror: not found
/usr/bin/xdg-open: 869: chromium: not found

Command '/usr/bin/chromium-browser' requires the chromium snap to be installed.
Please install it with:

snap install chromium

/usr/bin/xdg-open: 869: google-chrome: not found
mnyon-grandkru commented 1 year ago

This was resolved by configuring the browser explicitly on the command line: gh config set browser wslview