Comments (5)
That looks fine. Did you also make sure to check the 'winpcap compatibility' option when you installed npcap?
from cap.
Works now:) Winpcap compatibility checkbox fixed it: http://prntscr.com/om78fg
Thank you!
from cap.
Are you sure the addon was compiled successfully when you installed it?
from cap.
Are you sure the addon was compiled successfully when you installed it?
I deleted all and tried again. Here is the installation console output:
PS C:\Users\Home1\Desktop\nodecap> npm install cap
> [email protected] install C:\Users\Home1\Desktop\nodecap\node_modules\cap
> node-gyp rebuild
C:\Users\Home1\Desktop\nodecap\node_modules\cap>if not defined npm_config_node_gyp (node "C:\Program Files\nodejs\node_modules\npm\node_modules\npm-lifecycle\node-gyp-bin\\..\..\node_modules\node-gyp\bin\node-gyp.js" rebuild ) else (node "C:\Program Files\nodejs\node_modules\npm\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.
binding.cc
win_delay_load_hook.cc
c:\users\home1\desktop\nodecap\node_modules\cap\src\binding.cc(142): warning C4996: 'Nan::MakeCallback': was declared deprecated [C:\Users\Home1\Desktop\nodecap\node
_modules\cap\build\cap.vcxproj]
c:\users\home1\desktop\nodecap\node_modules\nan\nan.h(1024): note: see declaration of 'Nan::MakeCallback'
c:\users\home1\desktop\nodecap\node_modules\cap\src\binding.cc(241): warning C4996: 'v8::Value::Uint32Value': was declared deprecated [C:\Users\Home1\Desktop\nodecap
\node_modules\cap\build\cap.vcxproj]
c:\users\home1\.node-gyp\10.15.3\include\node\v8.h(2477): note: see declaration of 'v8::Value::Uint32Value'
c:\users\home1\desktop\nodecap\node_modules\cap\src\binding.cc(291): warning C4996: 'v8::String::Utf8Value::Utf8Value': was declared deprecated [C:\Users\Home1\Deskt
op\nodecap\node_modules\cap\build\cap.vcxproj]
c:\users\home1\.node-gyp\10.15.3\include\node\v8.h(2891): note: see declaration of 'v8::String::Utf8Value::Utf8Value'
c:\users\home1\desktop\nodecap\node_modules\cap\src\binding.cc(292): warning C4996: 'v8::String::Utf8Value::Utf8Value': was declared deprecated [C:\Users\Home1\Deskt
op\nodecap\node_modules\cap\build\cap.vcxproj]
c:\users\home1\.node-gyp\10.15.3\include\node\v8.h(2891): note: see declaration of 'v8::String::Utf8Value::Utf8Value'
c:\users\home1\desktop\nodecap\node_modules\cap\src\binding.cc(293): warning C4996: 'v8::Value::Int32Value': was declared deprecated [C:\Users\Home1\Desktop\nodecap\
node_modules\cap\build\cap.vcxproj]
c:\users\home1\.node-gyp\10.15.3\include\node\v8.h(2478): note: see declaration of 'v8::Value::Int32Value'
c:\users\home1\desktop\nodecap\node_modules\cap\src\binding.cc(452): warning C4996: 'v8::Value::Uint32Value': was declared deprecated [C:\Users\Home1\Desktop\nodecap
\node_modules\cap\build\cap.vcxproj]
c:\users\home1\.node-gyp\10.15.3\include\node\v8.h(2477): note: see declaration of 'v8::Value::Uint32Value'
Creating library C:\Users\Home1\Desktop\nodecap\node_modules\cap\build\Release\cap.lib and object C:\Users\Home1\Desktop\nodecap\node_modules\cap\build\Release\
cap.exp
Generating code
All 253 functions were compiled because no usable IPDB/IOBJ from previous compilation was found.
Finished generating code
cap.vcxproj -> C:\Users\Home1\Desktop\nodecap\node_modules\cap\build\Release\\cap.node
npm notice created a lockfile as package-lock.json. You should commit this file.
npm WARN [email protected] No description
npm WARN [email protected] No repository field.
+ [email protected]
added 2 packages from 9 contributors and audited 2 packages in 2.801s
found 0 vulnerabilities
Not sure if this is 100% without problems, it seems to be but I don't know.
from cap.
That looks fine. Did you also make sure to check the 'winpcap compatibility' option when you installed npcap?
That I did not but I remember seeing this last checkbox in wireshark installation process. Let me try reinstalling it...
from cap.
Related Issues (20)
- 0 bytes packets capture only HOT 11
- Issue installing cap on Windows 10 HOT 6
- TypeError: Cannot read property 'prototype' of undefined HOT 3
- 'cap.node' was compiled against a different Node.js version using NODE_MODULE_VERSION 83. This version of Node.js requires NODE_MODULE_VERSION 89. HOT 1
- Create a packet
- This module was compiled agianst a different Node.js issue.
- `Cap.deviceList()` Permissions error HOT 2
- "Segmentation fault (core dumped)" while using cap to send many packet (number of packets < 60) HOT 1
- how to check if npcap is installed on the machine HOT 1
- Return read packets immediately on Windows 10 HOT 2
- Does not compile under the newest node-gyp / electron-gyp HOT 2
- NODE_MODULE_VERSION 72. This version of Node.js requires NODE_MODULE_VERSION 73. Please try re-compiling or re-installing HOT 13
- .
- Does not find Pcap Library HOT 1
- Loop starvation HOT 2
- Resend packet captured from Wireshark HOT 5
- Can I send a WebSocket package without worrying about ACK number or Seq number? HOT 1
- Capture TCP segment of Reassembled PDU?
- How do I regenerate the seq number to replay captured traffic?
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 cap.