TypeStrong / grunt-typedoc

Grunt plugin to generate TypeScript docs with TypeDoc
MIT License
17 stars 29 forks source link

wrong typedoc path when loading grunt-typedoc a npm module #4

Closed pellekrogholt closed 9 years ago

pellekrogholt commented 10 years ago
grunt typedoc (using modified configuration from README.mk)

raises:

execvp(): No such file or directory
Fatal error: spawn ENOENT

if we look at tasks/typedoc.js - the executable looks fishy:

...
console.log('executable: ', executable);
...

printing:

/<path to>/MyProject/node_modules/grunt-typedoc/tasks/.bin/typedoc
Bartvds commented 10 years ago

Yea, typedoc wasn't quite ready to be used as a module, I think the author changed that recently so I'll try to see if I can use the proper require() (or you can PR if you spot it sooner).

pellekrogholt commented 10 years ago

@Bartvds thats a deal

cspotcode commented 9 years ago

I wrote PR #5 to fix this problem.