Skip to content

Typedoc generation fails for pulumi/pulumi repo #101

@lindydonna

Description

@lindydonna

A few findings:

  1. Only typedoc version 0.8 seems to work for the pulumi-aws and pulumi-cloud. Any later version (0.9, 0.10, 0.11) will fail with hundreds of errors. I've added the typedoc install step in Clean up unused package.json and update Makefile #100
  2. pulumi/pulumi fails to typedoc generate with the error below, on all versions of typedoc past 0.8. There is a file version.ts, so I'm not sure what it's failing on.
running typedoc on pulumi
~/go/src/github.com/pulumi/docs ~/go/src/github.com/pulumi/docs
fs.js:1000
  binding.stat(pathModule._makeLong(path), statValues);
          ^

Error: ENOENT: no such file or directory, stat '/Users/donnam/go/src/github.com/pulumi/pulumi/sdk/nodejs/version'
    at Error (native)
    at Object.fs.statSync (fs.js:1000:11)
    at /usr/local/lib/node_modules/typedoc/dist/lib/application.js:140:20
    at Array.forEach (native)
    at CliApplication.Application.expandInputFiles (/usr/local/lib/node_modules/typedoc/dist/lib/application.js:138:20)
    at CliApplication.bootstrap (/usr/local/lib/node_modules/typedoc/dist/lib/cli.js:58:28)
    at CliApplication.Application (/usr/local/lib/node_modules/typedoc/dist/lib/application.js:39:15)
    at new CliApplication (/usr/local/lib/node_modules/typedoc/dist/lib/cli.js:35:42)
    at Object.<anonymous> (/usr/local/lib/node_modules/typedoc/bin/typedoc:4:1)
    at Module._compile (module.js:570:32)
make: *** [generate] Error 1

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions