question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

JSDOC_ERROR: There are no input files to process.

See original GitHub issue

Hi! I tried to figure out how to use this tool. I wanted to parse my src/index.js but without any success:

image

Do I miss some steps which should be done before it?

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:9 (4 by maintainers)

github_iconTop GitHub Comments

3reactions
usulprocommented, Sep 8, 2017

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_x works _xx doesn’t work.

To reproduce you can clone https://github.com/sm-react/storybook-addon-console.git to _xx folder and yarn && yarn dev:docs. The first pass works fine, but if you change anything in src/index.js you’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

1reaction
75lbcommented, Sep 8, 2017

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 --configure option of jsdoc2md.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found