Giter VIP home page Giter VIP logo

Comments (7)

AlexKvazos avatar AlexKvazos commented on August 28, 2024 2

I had this issue, the fix is to remove ~/.eslint_d.

I think we need to handle the error that if it fails to connect to the server (because it got killed somehow) it should delete the reference to its port so a new one can start.

from eslint_d.js.

flashios09 avatar flashios09 commented on August 28, 2024 1

@mantoni i created a new file to test net.connect

    var net = require('net');
    var socket = net.connect(3000, function () {
      console.log('connected');
    });
    socket.on('error', function () {
      console.log('Could not connect');
    });

then node test.js and it give me Could not connect, i uninstalled nodejs(version 6.x) and reinstall it(version 7.x) via brew, today i will re-test it

Thanks

from eslint_d.js.

AlexKvazos avatar AlexKvazos commented on August 28, 2024 1

PR #95 Sent 👍

from eslint_d.js.

mantoni avatar mantoni commented on August 28, 2024

That is odd. I guess the error occurs here: https://github.com/mantoni/eslint_d.js/blob/master/lib/client.js#L13

Maybe you can add an err parameter and add it to the output? That should give us some more information.

from eslint_d.js.

flashios09 avatar flashios09 commented on August 28, 2024

i uninstalled nodejs(version 6.x) and reinstall it(version 7.x)

This solved the problem and now when i do eslint_d status i have running

Thanks

from eslint_d.js.

mantoni avatar mantoni commented on August 28, 2024

@AlexKvazos Sounds like a good idea. Would you care to contribute a pull request with your suggested solution?

from eslint_d.js.

mantoni avatar mantoni commented on August 28, 2024

A solution is now available in v7.1.1 (see release notes).

from eslint_d.js.

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.