node.jstypescriptnode-modulestypedoc

Running TypeDoc on Windows generates no files and no errors


I am attempting to use TypeDoc to generate documentation for a js app I am developing. For some reason, I can't get TypeDoc to output anything - files or errors.

To get to this point I installed TypeDoc inside the project folder:

npm install typedoc --save-dev

Then I opened PowerShell (also tried cmd) in admin in the project folder and attempted to run TypeDoc with several variations to see if I could get it to work:

I have tried a few other variations and can't seem to get any messages to the console or generate any files.

I am running Node v9.10.1 and TypeDoc 0.15.0.


Solution

  • You are probably wanting to use npx which is included with recent versions of node. It will automatically look up the package you are trying to use (either using the local version or installing it to cache.

    With that you should be able to run typedoc.

    npx typedoc --help