Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

apidoc complains about missing apidoc.json #183

Closed
ivan-kleshnin opened this issue Dec 27, 2014 · 5 comments
Closed

apidoc complains about missing apidoc.json #183

ivan-kleshnin opened this issue Dec 27, 2014 · 5 comments

Comments

@ivan-kleshnin
Copy link

I created "apidoc" block in vanilla node.js package.json file. Information is accessible to apidoc and everything is ok except that CLI still whines about missing apidoc.json

warn: Please create an apidoc.json.
@rottmann
Copy link
Member

apidoc try to get some Information from apidoc.json or package.json (title, version, ...), that is why you got the warning.
You can suppress it with --silent

@ivan-kleshnin
Copy link
Author

And I have package.json which is successfully read. Why the warning then?

@rottmann
Copy link
Member

Create an apidoc.json with the name:

{
  "name": "MyAppName"
}

@melroy89
Copy link

melroy89 commented Feb 2, 2018

See here: Example file apidoc.json

@BertCatsburg
Copy link

Had the same problem. And the solution was that I had an empty apidoc.json while all settings were in package.json. After removing the empty apidoc.json, everything worked.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants