Open davidfavor opened 7 years ago
I also error the same you as well. when run yslow --help
/usr/local/lib/node_modules/yslow/bin/yslow:16
doc = require('jsdom').jsdom(),
^
TypeError: require(...).jsdom is not a function
at Object.<anonymous> (/usr/local/lib/node_modules/yslow/bin/yslow:16:28)
at Module._compile (module.js:570:32)
at Object.Module._extensions..js (module.js:579:10)
at Module.load (module.js:487:32)
at tryModuleLoad (module.js:446:12)
at Function.Module._load (module.js:438:3)
at Module.runMain (module.js:604:10)
at run (bootstrap_node.js:393:7)
at startup (bootstrap_node.js:150:9)
at bootstrap_node.js:508:3
This problem occurs doing a fresh install, following installation instructions.
Be great if someone can answer this ticket with a fix or work around.
Thanks.
@sakonachhoeurng, likely the following will fix your JSON error.
npm install json -g
@davidfavor I still got that error the same.
Error still persists.
Be great if someone can provide suggestions towards a fix.
@sakonachhoeurng - Likely best to open another issue for this, as your problems seems different from this ticket.
Be sure to post all relevant runtime environment detail in your new ticket.
Refer to top of this ticket for generating runtime environment detail, in your new ticket.
Problem still persists.
@sakonachhoeurng , jsDom version change to the oldest version.
I'm having this issue too. Has this project been abandoned?
This project seems dead.
Many issues have no developer response.
Pink Floyd plays... "Is anybody out there?"
Runtime environment...