ncc icon indicating copy to clipboard operation
ncc copied to clipboard

Chrome launcher not connecting on Raspbian

Open greigs opened this issue 6 years ago • 1 comments

On Raspbian buster, ncc is able to launch chromium and it claims to be running the devtools API on the specified port, but I get connection failed messages, even after upping the retry limit and waiting a while. I also needed to specify export LIGHTHOUSE_CHROMIUM_PATH=/usr/bin/chromium-browser to get it to work without code changes.

Possible fix might be to try using the proper chrome-launcher npm package https://www.npmjs.com/package/chrome-launcher

greigs avatar Oct 03 '19 22:10 greigs

For whatever reason, chromium on my raspbian setup ignores the --app flag on launching. Simply replacing [``--app=${index}``] with [`` ${index}``] on this line solved this for me.

greigs avatar Oct 03 '19 23:10 greigs