net-ping - ICMP ping support for Node.js

1,590 views
Skip to first unread message

Stephen Vickers

unread,
Feb 16, 2013, 3:38:26 PM2/16/13
to nod...@googlegroups.com
Hi All,

I've created the new module "net-ping" which implements the ability to send ICMP echo requests to many hosts at once.

This module supports both IPv4 and IPv6.

You can install the new module using npm:


Steve

hughlomas

unread,
Mar 28, 2013, 1:21:39 PM3/28/13
to nod...@googlegroups.com
Won't build for me on windows 7 x64

C:\Users\Hugh\workspace\genie-monitor\node_modules\net-ping\node_modules\raw-socket>node "C:\Program Files (x86)\nodejs\
node_modules\npm\bin\node-gyp-bin\\..\..\node_modules\node-gyp\bin\node-gyp.js" rebuild
Building the projects in this solution one at a time. To enable parallel build, please add the "/m" switch.
C:\Users\Hugh\workspace\genie-monitor\node_modules\net-ping\node_modules\raw-socket\build\raw.vcxproj(1,639): error MSB
4019: The imported project "C:\Microsoft.Cpp.Default.props" was not found. Confirm that the path in the <Import> declar
ation is correct, and that the file exists on disk.
gyp ERR! build error
gyp ERR! stack Error: `C:\Windows\Microsoft.NET\Framework\v4.0.30319\msbuild.exe` failed with exit code: 1
gyp ERR! stack     at ChildProcess.onExit (C:\Program Files (x86)\nodejs\node_modules\npm\node_modules\node-gyp\lib\buil
d.js:215:23)
gyp ERR! stack     at ChildProcess.EventEmitter.emit (events.js:91:17)
gyp ERR! stack     at Process._handle.onexit (child_process.js:674:10)
gyp ERR! System Windows_NT 6.1.7601
gyp ERR! command "node" "C:\\Program Files (x86)\\nodejs\\node_modules\\npm\\node_modules\\node-gyp\\bin\\node-gyp.js" "
rebuild"
gyp ERR! cwd C:\Users\Hugh\workspace\genie-monitor\node_modules\net-ping\node_modules\raw-socket
gyp ERR! node -v v0.8.6
gyp ERR! node-gyp -v v0.6.3
gyp ERR! not ok
npm ERR! raw-s...@1.1.4 install: `node-gyp rebuild`
npm ERR! `cmd "/c" "node-gyp rebuild"` failed with 1
npm ERR!
npm ERR! Failed at the raw-s...@1.1.4 install script.
npm ERR! This is most likely a problem with the raw-socket package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     node-gyp rebuild
npm ERR! You can get their info via:
npm ERR!     npm owner ls raw-socket
npm ERR! There is likely additional logging output above.

npm ERR! System Windows_NT 6.1.7601
npm ERR! command "C:\\Program Files (x86)\\nodejs\\\\node.exe" "C:\\Program Files (x86)\\nodejs\\node_modules\\npm\\bin\
\npm-cli.js" "install" "net-ping"
npm ERR! cwd C:\Users\Hugh\workspace\genie-monitor
npm ERR! node -v v0.8.6
npm ERR! npm -v 1.1.48
npm ERR! code ELIFECYCLE
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR!     C:\Users\Hugh\workspace\genie-monitor\npm-debug.log
npm ERR! not ok code 0

mscdex

unread,
Mar 28, 2013, 1:43:36 PM3/28/13
to nodejs
On Mar 28, 1:21 pm, hughlomas <hugh.lo...@lodestarbpm.com> wrote:
> Won't build for me on windows 7 x64
> [...]
> C:\Users\Hugh\workspace\genie-monitor\node_modules\net-ping\node_modules\ra w-socket\build\raw.vcxproj(1,639):
> error MSB
> 4019: The imported project "C:\Microsoft.Cpp.Default.props" was not found.
> Confirm that the path in the <Import> declar
> ation is correct, and that the file exists on disk.

This should be fixed in node-gyp 0.9.3.

hughlomas

unread,
Mar 28, 2013, 3:44:38 PM3/28/13
to nod...@googlegroups.com
Thank you, that appears to have done the trick!
Reply all
Reply to author
Forward
0 new messages