Skip to content

codedoc check crashes #4

@TysonMN

Description

@TysonMN

This is what happens when I run codedoc check in my blog:

twilliams@EDMONDS MINGW64 /c/Code/Blogs/tyson-williams-blog (master)
$ codedoc check

# Checking CODEDOC configuration ...

# Checking Title configuration ...

C:\Users\twilliams\AppData\Roaming\npm\node_modules\@codedoc\cli\node_modules\typescript\lib\typescript.js:139175
                var error = new Error("Could not find source file: '" + fileName + "'.");
                            ^
Error: Could not find source file: 'C:/Code/Blogs/tyson-williams-blog/{'.
    at getValidSourceFile (C:\Users\twilliams\AppData\Roaming\npm\node_modules\@codedoc\cli\node_modules\typescript\lib\typescript.js:139175:29)
    at Object.getEmitOutput (C:\Users\twilliams\AppData\Roaming\npm\node_modules\@codedoc\cli\node_modules\typescript\lib\typescript.js:139560:30)
    at getOutput (C:\Users\twilliams\AppData\Roaming\npm\node_modules\@codedoc\cli\node_modules\ts-node\src\index.ts:562:32)
    at Object.compile (C:\Users\twilliams\AppData\Roaming\npm\node_modules\@codedoc\cli\node_modules\ts-node\src\index.ts:775:32)
    at _eval (C:\Users\twilliams\AppData\Roaming\npm\node_modules\@codedoc\cli\node_modules\ts-node\src\bin.ts:321:22)
    at evalAndExit (C:\Users\twilliams\AppData\Roaming\npm\node_modules\@codedoc\cli\node_modules\ts-node\src\bin.ts:296:14)
    at main (C:\Users\twilliams\AppData\Roaming\npm\node_modules\@codedoc\cli\node_modules\ts-node\src\bin.ts:224:5)
    at Object.<anonymous> (C:\Users\twilliams\AppData\Roaming\npm\node_modules\@codedoc\cli\node_modules\ts-node\src\bin.ts:513:3)
    at Module._compile (internal/modules/cjs/loader.js:1138:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:1158:10)
(node:984) UnhandledPromiseRejectionWarning: undefined
(node:984) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1)
(node:984) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions