Skip to content

Unable to run the docs #618

Closed
Closed
@bhavelyn

Description

@bhavelyn

Describe the bug
When I try to run npm run docs I get the following error:

Error: Tried to set an option (mode) that was not declared.
npm ERR! code 1
npm ERR! path /home/xxx/work/kubernetes-js-client
npm ERR! command failed
npm ERR! command sh -c typedoc src/gen/api

npm ERR! A complete log of this run can be found in:

** Client Version **
e.g. 0.12.0

** Server Version **
e.g. 1.19.1

To Reproduce
Steps to reproduce the behavior:

  1. Clone the repo
  2. npm install
  3. npm run generate
  4. npm run docs

Expected behavior
Docs to be generated

** Example Code**
N/A

Environment (please complete the following information):

  • OS: Ubuntu
  • NodeJS Version: 15.2.1 (also tried with v12.16.1 and v10.22.0)
  • Cloud runtime: NA

Additional context
Add any other context about the problem here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    lifecycle/rottenDenotes an issue or PR that has aged beyond stale and will be auto-closed.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions