ejs icon indicating copy to clipboard operation
ejs copied to clipboard

Windows Jakefile exec paths (still) not working

Open myfonj opened this issue 7 years ago • 1 comments

https://github.com/mde/ejs/blob/ca2c30f4d983cf964307148bc4f7fd65b9678034/Jakefile#L39

Changing it to

exec('.\\node_modules\\.bin\\jsdoc ' + p + ' -c jsdoc.json "lib" "docs\\jsdoc"')

Worked for me.


Knowing nearly nothing about Jake and (Node) exec before, little search led me to jakejs/jake#229 so apparently this will by just a little headsup for you :] Submitting for documentary purposes.

myfonj avatar Apr 05 '18 16:04 myfonj

This also works

exec(process.cwd() + '\\node_modules\\.bin\\jsdoc ' + p + ' -c jsdoc.json lib doc\\jsdoc');

maybe

exec(`${process.cwd()}\\node_modules\\.bin\\jsdoc ${p} -c jsdoc.json lib docs\\jsdoc`);

gregbown avatar Nov 12 '20 17:11 gregbown