Comments (4)
from node-ping.
Thanks for your support. I have resolved it.
from node-ping.
This library will use system ping for processing. It cannot run on browser. Are u running that on browser? 在 2020年9月11日週五 19:00,Debadatta Mishra [email protected] 寫道:
…
I am using Typescript along with Angular, Electron and NodeJs 10. While using this library "ping": "^0.2.3", @.*/ping":"^0.2.0" , I am getting below the error, please help me. message: "ping__WEBPACK_IMPORTED_MODULE_1__ is not defined" stack: "ReferenceError: ping__WEBPACK_IMPORTED_MODULE_1__ is not defined↵ at eval (eval at step I provide below the code. import {promise} from "ping"; private async getLatency(hostOrIp: string): Promise { const result = await promise.probe(hostOrIp); const latency = result.avg; return (latency !== "unknown") ? Math.floor(parseFloat(latency)) : -1; } Please help me as I am struck now. — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub <#127>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AA5YBI3OF3F3CGZOU4HRZJTSFH7N3ANCNFSM4RHG3BIA .
Yes, I am running from chrome browser. It looks like is not possible from browser. Could you please confirm me.
from node-ping.
from node-ping.
Related Issues (20)
- NodeJs implementation generates CMD window when ping HOT 2
- not working in production HOT 8
- 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
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.