Skip to content

Examples don't run #1320

@brandones

Description

@brandones

Just cloned the repository, ran npm install, then cd examples/basic.

~/C/p/t/e/basic (master|✔) $ ./run 

Using TypeScript 3.8.3 from /home/brandon/Code/pih/typedoc/node_modules/typescript/lib
Error: File '/home/brandon/Code/pih/typedoc/examples/basic/src/access.ts' is not under 'rootDir' '/home/brandon/Code/pih/typedoc/src'. 'rootDir' is expected to contain all source files.
Error: File '/home/brandon/Code/pih/typedoc/examples/basic/src/default-export.ts' is not under 'rootDir' '/home/brandon/Code/pih/typedoc/src'. 'rootDir' is expected to contain all source files.
Error: File '/home/brandon/Code/pih/typedoc/examples/basic/src/enumerations.ts' is not under 'rootDir' '/home/brandon/Code/pih/typedoc/src'. 'rootDir' is expected to contain all source files.
Error: File '/home/brandon/Code/pih/typedoc/examples/basic/src/flattened.ts' is not under 'rootDir' '/home/brandon/Code/pih/typedoc/src'. 'rootDir' is expected to contain all source files.
Error: File '/home/brandon/Code/pih/typedoc/examples/basic/src/functions.ts' is not under 'rootDir' '/home/brandon/Code/pih/typedoc/src'. 'rootDir' is expected to contain all source files.
Error: File '/home/brandon/Code/pih/typedoc/examples/basic/src/generics.ts' is not under 'rootDir' '/home/brandon/Code/pih/typedoc/src'. 'rootDir' is expected to contain all source files.
Error: File '/home/brandon/Code/pih/typedoc/examples/basic/src/hidden.ts' is not under 'rootDir' '/home/brandon/Code/pih/typedoc/src'. 'rootDir' is expected to contain all source files.
Error: File '/home/brandon/Code/pih/typedoc/examples/basic/src/mixin.ts' is not under 'rootDir' '/home/brandon/Code/pih/typedoc/src'. 'rootDir' is expected to contain all source files.
Error: File '/home/brandon/Code/pih/typedoc/examples/basic/src/mod2.ts' is not under 'rootDir' '/home/brandon/Code/pih/typedoc/src'. 'rootDir' is expected to contain all source files.
Error: File '/home/brandon/Code/pih/typedoc/examples/basic/src/modules.ts' is not under 'rootDir' '/home/brandon/Code/pih/typedoc/src'. 'rootDir' is expected to contain all source files.
Error: File '/home/brandon/Code/pih/typedoc/examples/basic/src/single-export.ts' is not under 'rootDir' '/home/brandon/Code/pih/typedoc/src'. 'rootDir' is expected to contain all source files.
Error: File '/home/brandon/Code/pih/typedoc/examples/basic/src/weird-names.ts' is not under 'rootDir' '/home/brandon/Code/pih/typedoc/src'. 'rootDir' is expected to contain all source files.

The doc directory is not created.

Environment

  • Typedoc version: origin/master
  • TypeScript version: 3.8.3
  • Node.js version: 12.16.1
  • OS: Ubuntu 20.04

Metadata

Metadata

Assignees

No one assigned

    Labels

    good first issueEasier issue for first time contributorshelp wantedContributions are especially encouraged

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions