JSDOC_ERROR: There are no input files to process.
See original GitHub issueHi! I tried to figure out how to use this tool. I wanted to parse my src/index.js but without any success:

Do I miss some steps which should be done before it?
Issue Analytics
- State:
- Created 6 years ago
- Comments:9 (4 by maintainers)
Top Results From Across the Web
There are no input files to process (no underscores) · Issue ...
This messages means JSDoc found the jsdoc.json file but didn't actually find any javascript files to parse in your source. check your source ......
Read more >The error message "There are no input files to process ...
json. You can put it in the JSDoc directory or another directory. If you put it in another directory, you will need to...
Read more >jsdoc2md/jsdoc2md
The weirdest is that earlier today it worked but now I get JSDOC_ERROR: There are no input files to process which is after...
Read more >Configuring JSDoc with a configuration file
Specifying input files. The source set of options, in combination with paths given to JSDoc on the command line, determines the set of...
Read more >JSDOC_ERROR: There are no input files to process. #137
I use Gnome terminal on Ubuntu. I tried both: jsdoc2md -f "example.js" and jsdoc2md -f example.js - it still throws this error Do...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

Finally, I dug out that the error appears when you have a folder starting with the underscore in your path. In my case it was
_sm-react, but it reproducible with any other names:x_xworks_xxdoesn’t work.To reproduce you can clone
https://github.com/sm-react/storybook-addon-console.gitto_xxfolder andyarn && yarn dev:docs. The first pass works fine, but if you change anything insrc/index.jsyou’ll see this error.For me, it is not so critical to change the name of the folder, so I’m going to close this issue. Still not sure is it reproducible on other machines except the mine.
Thank you for your attention to this issue
i tracked it down to jsdoc (which jsdoc2md uses internally)… by default, jsdoc ignores file names beginning with a leading underscore - no idea why…
See the “Default configuration options” section of the config file instructions.
You can pass in a custom jsdoc config using the
--configureoption of jsdoc2md.