Skip to content
This repository was archived by the owner on Mar 22, 2023. It is now read-only.

Error: Sorry, I can't start the sniffer, it says 'undefined' #20

Open
detj opened this issue Oct 15, 2014 · 6 comments
Open

Error: Sorry, I can't start the sniffer, it says 'undefined' #20

detj opened this issue Oct 15, 2014 · 6 comments

Comments

@detj
Copy link

detj commented Oct 15, 2014

I just npm install -g htracr it and started with htracr 8080 then opened http://localhost:8080 in Chrome and clicked on Start

screen shot 2014-10-15 at 5 30 56 pm

@est
Copy link

est commented Jul 2, 2015

Same problem here. Ubuntu 12.04 LTS, venet0

@est
Copy link

est commented Jul 2, 2015

Also tried on Ubuntu 14.04, this time "start" is broken, also upload got redirected to a blank page,

shell shows

Processing upload file: /tmp/upload_6b431bab0d6a629acdbd3db3fcf60e94
Upload processing error: TypeError: undefined is not a function

@nobso
Copy link

nobso commented Jan 7, 2016

Do we have any solution to this? I also get the same error in Mac

@localtest
Copy link
Contributor

Same problem here. Did you solve the problem? @est @nobso

@localtest
Copy link
Contributor

localtest commented Sep 12, 2016

Oh, I solve the problem! @est @nobso

I traced the code of htracr, find that there are some problems of pcap,
the package.json of htracr wrote "pcap": ">=0.2.8", when we run npm install,it will download [email protected], whick changed the output format packet.payload.payload not packet.link.ip

then i modify the package.json "pcap": "1.2.0", and reinstall, it works.

by the way i downgrade the version of node to v0.10.28 and the npm to 1.4.9 to install the node-pcap, (^ - ^)

@mnot
Copy link
Owner

mnot commented Sep 12, 2016

pcap seems to be a bit of a mess right now :-/ -- am waiting for it to settle down.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants