Used the following command to install compodoc

npm install -g @compodoc/compodoc

Now i used the following command to run tsconfig.app.json file

compodoc -p tsconfig.app.json -s

I got the Url where to get the documentation as->http://127.0.0.1:8080.Ican open this URL.But the overview section is balnk.I am not getting any information about the module or injectable part.The exact error(precisely warning) i am getting on the termial is given below

(node:19816) V8: C:\Users\sourav\AppData\Roaming\npm\node_modules@compodoc\compodoc\node_modules\viz.js\viz.js:33 Invalid asm.js: Function definition doesn't match use

3

There are 3 answers

0
DavidW On

I had a similar issue of a blank overview. I had no issue with an almost identical project from a little over a year ago. However, Juan Davir Burgos Oquendo answer solved my problem. I used tsconfig.base.json instead of tsconfig.json and got the documentation I expected. (I would have just commented in his comment, but don't have the 50 reputation required.)

1
Aakash Garg On

You must be having files Array in tsconfig-app.json. Move content of that files array into includes array. if that array is empty just remove it. then try running this command.

0
Juan Davir Burgos Oquendo On

use tsconfig.base.json instead of tsconfig.app.json