donpark / html2jade

Converts HTML to Jade template. Not perfect but useful enough for non-daily conversions.
MIT License
1.18k stars 156 forks source link

html2jade: command not found #49

Closed pateljatin closed 11 years ago

pateljatin commented 11 years ago

Hi,

Sorry - I'm a newbie in Node.js so apologies if I'm missing something trivial here. Yes, I have latest node.js installed on mac, etc. I wanted to convert a bunch of files from html to jade. So, I created a directory (I'm using mac so on the desktop), called it "mydir". Then at the bash prompt, I ran "npm install html2jade" - installed ok.
I copied all my html files in "mydir" directory.

Any help, would be great.

Thanks, Jatin

donpark commented 11 years ago

Try installing with npm install -g html2jade. That installs html2jade globally.

pateljatin commented 11 years ago

Thanks - that worked. sudo npm install -g html2jade