schickling/chromeless

Won't run on Pixelbook/Chromebook

dustinromey opened this issue · 0 comments

Attempted to run on Chromebook after installing node via https://github.com/skycocker/chromebrew

Received the following error:

which: no google-chrome-stable in (/usr/local/bin:/usr/bin:/bin:/opt/bin)
which: no google-chrome in (/usr/local/bin:/usr/bin:/bin:/opt/bin)
which: no chromium-browser in (/usr/local/bin:/usr/bin:/bin:/opt/bin)
which: no chromium in (/usr/local/bin:/usr/bin:/bin:/opt/bin)
Error: The environment variable CHROME_PATH must be set to executable of a build of Chromium version 54.0 or later.
at Object.linux (/home/chronos/user/Downloads/code/bpdl/node_modules/chrome-launcher/dist/chrome-finder.js:108:15)
at Launcher. (/home/chronos/user/Downloads/code/bpdl/node_modules/chrome-launcher/dist/chrome-launcher.js:139:80)
at Generator.throw ()
at rejected (/home/chronos/user/Downloads/code/bpdl/node_modules/chrome-launcher/dist/chrome-launcher.js:10:65)
at
at process._tickCallback (internal/process/next_tick.js:160:7)

Set the CHROME_PATH to "/opt/google/chrome/chrome". It then ran, still complaining about the first four which statements there, but then received the following error, and then it hangs:

{ Error: connect ECONNREFUSED 127.0.0.1:9222
at Object._errnoException (util.js:1003:13)
at _exceptionWithHostPort (util.js:1024:20)
at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1194:14)
errno: 'ECONNREFUSED',
code: 'ECONNREFUSED',
syscall: 'connect',
address: '127.0.0.1',
port: 9222 }

I presume the debugging port isn't open on Chromebooks. Trying to run through crouton, but thought it would be good if it could run in the regular shell.