OnetapInc / chromy

Chromy is a library for operating headless chrome. 🍺🍺🍺
MIT License
605 stars 41 forks source link

ECONNREFUSED on chromy start #104

Open ghost opened 6 years ago

ghost commented 6 years ago

Im getting the following error on chromy start:

connect ECONNREFUSED 127.0.0.1:9222
    at Object.exports._errnoException (util.js:1020:11)
    at exports._exceptionWithHostPort (util.js:1043:20)
    at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1086:14)

Im on ubuntu, node version 9.6.1.

I couldnt find any help on google.

Thanks!

dotneet commented 6 years ago

Do you have installed chrome on ubuntu? And it is located on default path?

ghost commented 6 years ago

Yes, and the whereis command gave me this:

whereis google-chrome
google-chrome: /usr/bin/google-chrome /usr/share/man/man1/google-chrome.1.gz