mnot / htracr

HTTP sniffing and low-level visualisation
MIT License
531 stars 37 forks source link

Cannot run htracr #11

Closed akidee closed 13 years ago

akidee commented 13 years ago

I use latest node on Mac OS 10.6. I have installed htracr via latest npm, but I cannot run htracr: $ htracr 8000 -bash: htracr: command not found Where do I find this binary? I cannot find it in the npm sudir where the htracr module is located.

mnot commented 13 years ago

This depends on your NPM setup. Try with the new npm 1.0 and see if that helps.

akidee commented 13 years ago

I have installed it with latest npm (with a local installation). Somehow a module's bin path must be consistently added to $PATH. sudo /Users/andi/node_modules/.bin/htracr 8002 & works for me.

mnot commented 13 years ago

It looks like you forgot the -g argument; try

sudo npm -g install htracr

Cheers,