Skip to content

windows-build(doc): can't generate html file #38391

@ahmadrasyidsalim

Description

@ahmadrasyidsalim
  • v17.0.0-pre:
  • Microsoft Windows NT 19042.928 x64:
  • Python 3.9.4:
  • VS2019 (16.9.31205.134):

What steps will reproduce the bug?

Trying to build doc

How often does it reproduce? Is there a required condition?

Every time

What is the expected behavior?

HTML file generated inside the doc\api directory

What do you see instead?

HTML file did not exist and I got this error message:

TypeError: versions.filter is not a function
    at altDocs (D:\Rasyid\Sources\Git\node\tools\doc\html.js:484:25)
    at Object.toHTML (D:\Rasyid\Sources\Git\node\tools\doc\html.js:108:40)
    at main (D:\Rasyid\Sources\Git\node\tools\doc\generate.js:97:29)

Metadata

Metadata

Assignees

No one assigned

    Labels

    toolsIssues and PRs related to the tools directory.

    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