better-docs
better-docs copied to clipboard
jsdoc failing to run: "File doesn't exist there"
I had to add -d=docs
to the command, since jsdoc would not run without it, but I'm still getting an error when I run jsdoc -c jsdoc.json -d=docs
:
java -Djsdoc.template.dir=/usr/share/jsdoc-toolkit/templates/jsdoc -jar /usr/share/java/jsrun.jar /usr/share/jsdoc-toolkit/app/run.js -c jsdoc.json -d=docs
js: "/usr/share/jsdoc-toolkit/app/run.js", line 191: exception from uncaught JavaScript throw: File doesn't exist there: true
I'm really unsure what file is missing where. This is my jsdoc.json
try to install jsdoc localy and run it from there (write corresponding script in package.json). ithink the error happens because better docs are installed locally where jsdoc globally
OK, managed to get through the first hurdle. I was missing "include": ["src"],
in the source section.
I'm getting output now, but it seems to be empty.
do you have any jsdoc comments? PS - in better-docs repo there is a jsdoc.json script which I use for testing. You can try if that works fro you