The error message “There are no input files to process” from jsdoc

前端 未结 1 976
滥情空心
滥情空心 2021-01-11 17:33

Jsdoc is installed locally ( npm install jsdoc ). I get the following error while trying to execute .\\node_modules.bin\\jsdoc --debug ./lib/JavaScriptSource

相关标签:
1条回答
  • 2021-01-11 18:23

    Turns is an open bug in jsdoc where it does not process filepath's starting with "_". github.com/jsdoc3/jsdoc/issues/308. Provides the solution as well.

    Where the default excludePattern (^|/|\)_ ignores paths starting with an underscore.

    The solution quoted from https://github.com/jsdoc3/jsdoc/issues/308

    "To change the default behavior:

    Copy conf.json.EXAMPLE to a new file, conf.json. You can put it in the JSDoc directory or another directory. If you put it in another directory, you will need to use the -c option to tell JSDoc where to find it: jsdoc -c path/to/conf.json Open conf.json in a text editor. Find the source.excludePattern property, and change it to an empty string."

    0 讨论(0)
提交回复
热议问题