node.js:134
throw e; // process.nextTick error, or 'error' event on first tick
^
Error: jsdom.env requires a 'html' argument
at /home//.node_libraries/.npm/jsdom/0.2.14/package/lib/jsdom.js:356:13
at Array.forEach (native)
at Function.processArguments (/home//.node_libraries/.npm/jsdom/0.2.14/package/lib/jsdom.js:353:12)
at Object.env (/home//.node_libraries/.npm/jsdom/0.2.14/package/lib/jsdom.js:143:29)
at Parser.parse (/home//.node_libraries/.npm/html2jade/0.1.17/package/lib/html2jade.js:17:27)
at Converter.conditional (/home//.node_libraries/.npm/html2jade/0.1.17/package/lib/html2jade.js:349:21)
at Converter.comment (/home//.node_libraries/.npm/html2jade/0.1.17/package/lib/html2jade.js:327:21)
at /home//.node_libraries/.npm/html2jade/0.1.17/package/lib/html2jade.js:310:24
at Writer.forEachChild (/home//.node_libraries/.npm/html2jade/0.1.17/package/lib/html2jade.js:102:11)
at Converter.children (/home//.node_libraries/.npm/html2jade/0.1.17/package/lib/html2jade.js:298:19)
html2jade -V
0.1.16
$ npm ls
npm WARN express 2.5.2 Unmet dependency in
npm WARN jade >= 0.0.1 Unmet dependency in
application-name@0.0.1
âââ cron@0.3.0 extraneous
âââ UNMET DEPENDENCY express 2.5.2
ââ⬠html2jade@0.1.18 extraneous
â âââ commander@0.5.2
â ââ⬠jsdom@0.2.14
â ââ⬠contextify@0.1.3
â â âââ bindings@1.0.0
â âââ cssom@0.2.4
â âââ htmlparser@1.7.6
â âââ request@2.9.203
âââ UNMET DEPENDENCY jade >= 0.0.1
âââ mime@1.2.5 extraneous
âââ mkdirp@0.3.2 extraneous
ââ⬠nodemailer@0.3.19 extraneous
ââ⬠mailcomposer@0.1.14
â âââ mimelib-noiconv@0.1.6
ââ⬠simplesmtp@0.1.17
âââ rai@0.1.6
Hi Don,
I am getting following error:
$ html2jade index.html
node.js:134 throw e; // process.nextTick error, or 'error' event on first tick ^ Error: jsdom.env requires a 'html' argument at /home//.node_libraries/.npm/jsdom/0.2.14/package/lib/jsdom.js:356:13 at Array.forEach (native) at Function.processArguments (/home//.node_libraries/.npm/jsdom/0.2.14/package/lib/jsdom.js:353:12) at Object.env (/home//.node_libraries/.npm/jsdom/0.2.14/package/lib/jsdom.js:143:29) at Parser.parse (/home//.node_libraries/.npm/html2jade/0.1.17/package/lib/html2jade.js:17:27) at Converter.conditional (/home//.node_libraries/.npm/html2jade/0.1.17/package/lib/html2jade.js:349:21) at Converter.comment (/home//.node_libraries/.npm/html2jade/0.1.17/package/lib/html2jade.js:327:21) at /home//.node_libraries/.npm/html2jade/0.1.17/package/lib/html2jade.js:310:24 at Writer.forEachChild (/home//.node_libraries/.npm/html2jade/0.1.17/package/lib/html2jade.js:102:11) at Converter.children (/home//.node_libraries/.npm/html2jade/0.1.17/package/lib/html2jade.js:298:19)
html2jade -V 0.1.16
$ npm ls npm WARN express 2.5.2 Unmet dependency in npm WARN jade >= 0.0.1 Unmet dependency in application-name@0.0.1 âââ cron@0.3.0 extraneous âââ UNMET DEPENDENCY express 2.5.2 ââ⬠html2jade@0.1.18 extraneous â âââ commander@0.5.2 â ââ⬠jsdom@0.2.14 â ââ⬠contextify@0.1.3 â â âââ bindings@1.0.0 â âââ cssom@0.2.4 â âââ htmlparser@1.7.6 â âââ request@2.9.203 âââ UNMET DEPENDENCY jade >= 0.0.1 âââ mime@1.2.5 extraneous âââ mkdirp@0.3.2 extraneous ââ⬠nodemailer@0.3.19 extraneous ââ⬠mailcomposer@0.1.14 â âââ mimelib-noiconv@0.1.6 ââ⬠simplesmtp@0.1.17 âââ rai@0.1.6
Appreciate help. Thank you.