Closed magicmonkey closed 13 years ago
That's a very old version of NPM; if you update this will work. I'll look into requiring a specific version of NPM in a future rev.
Ah ok, cheers - I didn't realise my NPM was so out of date. I've updated it now :)
Thanks.
Try 0.1.2.
I installed htracr from NPM (version 0.1.1), but every time I ran it I just got faced with the usage message. A little bit of digging revealed that these lines in htracr.js were to blame:
A console.log(util.inspect(argv)) showed this:
so I changed the code to:
and the server ran ok (note the "0" changed to a "2"). I suspect that something to do with the NPM installer is adding the extra fields to argv?