gluon
gluon copied to clipboard
Error on startup of first example
510 git clone https://github.com/gluon-framework/examples.git 511 ll 512 cd examples 513 ll 514 cd gluworld 515 npm install 516 node . 517 h dean@pop-os ~/.../examples/gluworld (main) $ node . [Gluon] starting browser... file:///home/dean/projects/gatsby/LIBRARY/gluon/examples/gluworld/node_modules/@gluon-framework/gluon/src/index.js:198 const [ browserPath, browserName ] = await findBrowserPath(forceBrowser, forceEngine); ^
TypeError: (intermediate value) is not iterable at startBrowser (file:///home/dean/projects/gatsby/LIBRARY/gluon/examples/gluworld/node_modules/@gluon-framework/gluon/src/index.js:198:40) at async Module.open (file:///home/dean/projects/gatsby/LIBRARY/gluon/examples/gluworld/node_modules/@gluon-framework/gluon/src/index.js:255:19) at async file:///home/dean/projects/gatsby/LIBRARY/gluon/examples/gluworld/index.js:17:3
Node.js v18.12.1 dean@pop-os ~/.../examples/gluworld (main) $
Happy to help any way I can.
What browsers do you have installed on your system?
chrome and firefox
If you have them installed "unusually" (snap/flatpak/etc) it might not currently pick it up. How can you launch either/both from a terminal?
I'm using !Pop_os so it's a flatpak install dean@pop-os ~/.../examples/gluworld (main) $ sudo find / -name "google-chrome" [sudo] password for dean: /usr/share/bash-completion/completions/google-chrome /home/dean/.var/app/com.google.Chrome/config/google-chrome /home/dean/.var/app/com.google.Chrome/cache/google-chrome /home/dean/.local/share/flatpak/app/com.google.Chrome/x86_64/stable/1fe6a66f58297a21d2aa066000065ac0155a70f2e6a7d5628800432a9ce9f40d/files/extra/google-chrome /home/dean/.local/share/flatpak/app/com.google.Chrome/x86_64/stable/1fe6a66f58297a21d2aa066000065ac0155a70f2e6a7d5628800432a9ce9f40d/files/extra/cron/google-chrome
I'll go figure out how I can launch from a terminal.
I can run it from the command line with this command: flatpak run com.google.Chrome
FWIW: This runs Firefox flatpak run org.mozilla.firefox
of course, I can also use /usr/bin/flatpak run com.google.Chrome