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.
Now, at the mydir> prompt (main dir), I tried to do: html2jade index.html
I get an error that html2jade: command not found
I cd over inside to bin directory as: mydir/node_modules/html2jade/bin> html2jade index.html
I still get the same error as html2jade: command not found. I'm sure I'm missing something here...
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