Unable to locate jsdoc #13

jkissel opened this Issue Feb 4, 2013 · 2 comments


None yet
2 participants

jkissel commented Feb 4, 2013

I still get this error, because my project structure forces me to load the task from another location than the current one (via loadTasks("path/to/jsdoc-contrib")).

The task tries to resolve jsdoc based on the current path (cwd) and not from the script location (__dirname).

Changing the line

var base = 'node_modules/jsdoc/jsdoc',


var base = __dirname + '/../node_modules/jsdoc/jsdoc',

would fix this issue.

krampstudio was assigned Feb 4, 2013


krampstudio commented Feb 4, 2013

Humm, I'll think how to specify the jsdoc path as an option. I don't like the option relative to the task. I'll let you know.
Thanks for the report


krampstudio commented Mar 2, 2013

You can set the jsdoc path as an option into your Gruntfile since 0.2.4

krampstudio closed this Mar 2, 2013

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment