Coder Social home page Coder Social logo

Comments (13)

mondwan avatar mondwan commented on August 16, 2024 2

Please try and let us know whether there are any problems :D

from node-ping.

mondwan avatar mondwan commented on August 16, 2024

According to the patch here, it seems exit code for window is incorrect for unreachable host.

As I do not have a window machine, can you verify this?

from node-ping.

jupe avatar jupe commented on August 16, 2024

there is bug in line https://github.com/danielzzz/node-ping/blob/master/lib/ping-promise.js#L86, for loop try to search array indexes and it should instead loop actual lines...

from node-ping.

mondwan avatar mondwan commented on August 16, 2024

oops. Thanks for pointing out.

from node-ping.

cecilia-sanare avatar cecilia-sanare commented on August 16, 2024

@mondwan Your changes are working for me on Windows 7.

from node-ping.

mondwan avatar mondwan commented on August 16, 2024

Close

from node-ping.

jlengrand avatar jlengrand commented on August 16, 2024

Hi there,

Sorry to comment on a closed issue, but it looked relevant.
I have just installed and tried node-ping and it looks like alive is always false on my Windows 10 machine.

Nothing very special with my system I think (no specific charset being used).

I am using the latest version from npm. Anything I may have missed?

EDIT: I have just tried to run the test suite, and on my Windows 10 computer I have 5 tests failing out of 9. I will try to dig deeper into the issues but as I am quite new to node and javascript in general any guidance is much welcome :)

from node-ping.

mondwan avatar mondwan commented on August 16, 2024

from node-ping.

jlengrand avatar jlengrand commented on August 16, 2024

Hum, you are right @mondwan the version from Github indeed does not have the same issue.

Is there any way when the npm version will be fixed?

EDIT :

Alright, I have used [this SO question])(http://stackoverflow.com/questions/14187956/npm-install-from-git-in-a-specific-version) to use the master version of this repository directly in the meantime :).

Thanks for the help

from node-ping.

danielzzz avatar danielzzz commented on August 16, 2024

@jlengrand soon, hopefuly.
@mondwan If you're ok with this I will publish a new 2.1 version shortly

from node-ping.

jlengrand avatar jlengrand commented on August 16, 2024

@danielzzz Looking forward, thanks for the good work!

from node-ping.

mondwan avatar mondwan commented on August 16, 2024

from node-ping.

danielzzz avatar danielzzz commented on August 16, 2024

v2.1 published to NPM - thanks to everyone for your contributions!

from node-ping.

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.