You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
How do I install libpcap and the pcap module on my Mac? I just installed homebrew, what's the next step?
After that, how do I get the server to run locally on my machine so I can check out changes I make to the code? Do I just have to run 'node app.js' inside the pcap-map directory? Right now I get a "Cannot find module 'pcap'" error.
The text was updated successfully, but these errors were encountered:
Sorry for the late reply, I dont know why I didn't get notified of this issue.
If you have homebrew installed, I think you can run 'brew install libpcap'.
Then within your repo checkout and within the pcap folder, run 'npm install'. This should grab the necessary node modules you need to run the app.
Next, you should be able to run 'node app.js' to get it running. Running it this way you must stop and restart the app when you make changes. To help with this, you can also 'npm install supervisor -g' which will install the supervisor node app globally. This will allow you to run 'supervisor app.js' instead of 'node app.js' and will automatically detect changes to your files as you work and restart the app when it detects changes.
How do I install libpcap and the pcap module on my Mac? I just installed homebrew, what's the next step?
After that, how do I get the server to run locally on my machine so I can check out changes I make to the code? Do I just have to run 'node app.js' inside the pcap-map directory? Right now I get a "Cannot find module 'pcap'" error.
The text was updated successfully, but these errors were encountered: