apidoc complains about missing apidoc.json

Created on 27 Dec 2014  路  5Comments  路  Source: apidoc/apidoc

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.

Most helpful comment

Create an apidoc.json with the name:

{
  "name": "MyAppName"
}

All 5 comments

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

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

Create an apidoc.json with the name:

{
  "name": "MyAppName"
}

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.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

imfuxiao picture imfuxiao  路  6Comments

ameliariely picture ameliariely  路  7Comments

kingmayko picture kingmayko  路  3Comments

Abdelrhman-Hosny picture Abdelrhman-Hosny  路  3Comments

danielchirinos picture danielchirinos  路  7Comments