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.
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.
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