GithubHelp home page GithubHelp logo

ECONNREFUSED about chromeless HOT 8 CLOSED

schickling avatar schickling commented on July 20, 2024
ECONNREFUSED

from chromeless.

Comments (8)

victormejia avatar victormejia commented on July 20, 2024 1

@stevenvachon you need to have the chrome instance running

from chromeless.

DualWield avatar DualWield commented on July 20, 2024 1

I have run Chrome Canary locally,But still get this error.

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

from chromeless.

stevenvachon avatar stevenvachon commented on July 20, 2024

It is running.

Oh, I was just running regular Chrome. Can't this library start it headlessly for us? (#23)

from chromeless.

victormejia avatar victormejia commented on July 20, 2024

You will need Chrome Canary, and you can easily achieve this using an npm script of some sort. However, I do recommend adding in that alias that they specify in the README.

from chromeless.

schickling avatar schickling commented on July 20, 2024

Future versions will automatically start Chrome locally. See #23 for more.

from chromeless.

happy-dev avatar happy-dev commented on July 20, 2024

Same behavior here than @DualWield is facing.

from chromeless.

joelgriffith avatar joelgriffith commented on July 20, 2024

I've started to notice this as well... I'll investigate, got a feeling we're not passing through ports in all the right places

from chromeless.

happy-dev avatar happy-dev commented on July 20, 2024

I found the solution here

Chrome actually needs to be running already, listening to the appropriate port, ie. 9222 here.

from chromeless.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.