Comments (12)
I am on a French Windows 7 system
I can confirm that this:
- Doesn't work from NPM
- Works just fine with the latest Github version
from node-ping.
Ahh, issue sames with #64 . Can you upload a text version for the complete ping run from terminal? As I cannot patch this without a concrete example from french system :)
from node-ping.
Yes sure !
ping 127.0.0.1
Envoi d’une requête 'Ping' 127.0.0.1 avec 32 octets de données :
Réponse de 127.0.0.1 : octets=32 temps<1ms TTL=128
Réponse de 127.0.0.1 : octets=32 temps<1ms TTL=128
Réponse de 127.0.0.1 : octets=32 temps<1ms TTL=128
Réponse de 127.0.0.1 : octets=32 temps<1ms TTL=128
Statistiques Ping pour 127.0.0.1:
Paquets : envoyés = 4, reçus = 4, perdus = 0 (perte 0%),
Durée approximative des boucles en millisecondes :
Minimum = 0ms, Maximum = 0ms, Moyenne = 0ms
ping 8.8.8.8
Envoi d’une requête 'Ping' 8.8.8.8 avec 32 octets de données :
Réponse de 8.8.8.8 : octets=32 temps=6 ms TTL=58
Réponse de 8.8.8.8 : octets=32 temps=6 ms TTL=58
Réponse de 8.8.8.8 : octets=32 temps=6 ms TTL=58
Réponse de 8.8.8.8 : octets=32 temps=6 ms TTL=58
Statistiques Ping pour 8.8.8.8:
Paquets : envoyés = 4, reçus = 4, perdus = 0 (perte 0%),
Durée approximative des boucles en millisecondes :
Minimum = 6ms, Maximum = 6ms, Moyenne = 6ms
from node-ping.
For french system @Windows 10, the simple correction (but will work only for french after that), is to modify the line 51 in lib/parser/win.js
return kvp.indexOf('ms') >= 0;
with
return kvp.indexOf('temps') >= 0;
from node-ping.
from node-ping.
@jsdidierlaurent , can you give one more example which involves a domain name?
say, ping google.com?
from node-ping.
Please try again with the latest version in github. Thanks.
from node-ping.
Great, it works !
Thanks !
from node-ping.
Can this be published into npm?
from node-ping.
It seems like the version on npm still has this issue when windows language is French.
Can the fix be pushed to npm?
Thanks.
from node-ping.
Hey, is this fix going to be published to NPM? We're facing a similar issue with Spanish windows
from node-ping.
from node-ping.
Related Issues (20)
- Command injection HOT 6
- Not works in Japanese locale environment HOT 1
- Async-Await example broken HOT 4
- Misleading values in returned object when the cable is unplugged or the host doesn't exist HOT 6
- isAlive false, no error in electron, but isAlive true (same IP) under node? HOT 6
- feature 'Include inputHost in the PingResponse' not published to npm HOT 1
- Multiple interface on debian HOT 5
- Using node-ping on Heroku HOT 1
- Used for third party server satus check HOT 4
- Unable to ping IPv6 address - There is no timeout option on ping6 HOT 2
- Program crash HOT 2
- Property 'promise' does not exist on type '() => Promise<void>'. HOT 2
- Using node-ping in REST API (ExpressJS) HOT 4
- output does not log special characters HOT 5
- Bug: Response data comes back with unknowns. HOT 2
- missing error messages from stderr HOT 10
- no warning when ping is not installed HOT 4
- Is it possible to set timeout < 1 sec HOT 1
- Error: spawn EPERM on Pterodactyl Server HOT 5
- why "ping.pcap" is commented HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from node-ping.