Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to locate jsdoc #13

Closed
jkissel opened this issue Feb 4, 2013 · 2 comments
Closed

Unable to locate jsdoc #13

jkissel opened this issue Feb 4, 2013 · 2 comments
Assignees
Milestone

Comments

@jkissel
Copy link

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',

to

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

would fix this issue.

@ghost ghost assigned krampstudio Feb 4, 2013
@krampstudio
Copy link
Owner

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
Copy link
Owner

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

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

No branches or pull requests

2 participants