krampstudio/grunt-jsdoc

jsdoc error: Error: Command failed: /bin/sh: 1: node_modules/jsdoc/jsdoc: not found

nik-kor opened this issue · 4 comments

Hi!
I've installed your task.

But got an error:

->./node_modules/.bin/grunt jsdoc
Running "jsdoc:dist" (jsdoc) task
>> jsdoc error: Error: Command failed: /bin/sh: 1: node_modules/jsdoc/jsdoc: not found
<WARN> jsdoc failure Use --force to continue. </WARN>

Aborted due to warnings.

I have the same issue. The jsdoc task defines a variable "jsdocBin = 'node_modules/jsdoc/jsdoc'" which cannot be resolved. Also a "npm link jsdoc" does not solve this problem.

Will have a look asap.

update and it should be fixed now.

Thanks, Bertrand!