hortinstein/node-dash-button

Can't get pcap working on windows, some gyp errors, converted to winpcap

Opened this issue · 3 comments

teebu commented

I couldn't get this installed on my Windows 8.1, compiling problems with socketwatch and gyp. I redid the project using 'cap' module, which uses winpcap.

https://github.com/teebu/node-dash-button-winpcap

Thanks, nice work! i would be happy to accept a pull request that does OS detection and switches pcap libraries if someone can figure out an elegant way to integrate your code without impacting the simple initial setup.

This node api may help: https://nodejs.org/api/process.html#process_process_platform

Thanks again, I will take a look at your code

teebu commented

I believe you can use the 'cap' module on other OS's as long as it has the pcap installed.

https://www.npmjs.com/package/cap

hi guys, my prob is i can`t install this.
error: ENOENT: no such file or directory, chmod 'C:\Program Files (x86)\nodejs\node_modules\node-dash-button-winpcap\bin\findbutton

what`s the prob?