Using lodash and having the typings installed I can compile.
Using typedoc with the same typescript version I get:
Cannot find name '_'.
+1 I also get this.
I was able to fix this by adding ./typings/index.d.ts to source-files. Maybe this can help you also ...
I was originally running:
$ typedoc --out docs --module "commonjs" src
Using TypeScript 1.8.10 from /Users/glavin/Documents/Project Dev/unibeautify/node_modules/typescript/lib
Error: /Users/glavin/Documents/Project Dev/unibeautify/src/beautifier.d.ts(0)
Cannot find module 'bluebird'.
Error: /Users/glavin/Documents/Project Dev/unibeautify/src/beautifier.ts(2)
Cannot find module 'bluebird'.
Then I added --includeDeclarations typings/ and it works:
$ typedoc --out docs --includeDeclarations typings/ --module commonjs src
Using TypeScript 1.8.10 from /Users/glavin/Documents/Project Dev/unibeautify/node_modules/typescript/lib
Rendering [========================================] 100%
Documentation generated at /Users/glavin/Documents/Project Dev/unibeautify/docs
I've ended with:
typedoc --out docs --exclude \"**/*.spec.ts\" --excludeExternals --excludePrivate --readme README.md node_modules/@types src