Skip to content

Generation not working #155

@manuel-salvatori-lrn

Description

@manuel-salvatori-lrn

I generated an export file and wanted to try the export, it didn't work with the following error:

(node:18516) [DEP0174] DeprecationWarning: Calling promisify on a function that returns a Promise is likely a mistake.
(Use node --trace-deprecation ... to show where the warning was created)


| | | | ___ _ __ _ __ | _ \ ___ ___ / | ___ _ __
| |
| |/ _ | '
| '
\ | | | |/ _ \ / | | | _ / _ \ '
| _ | () | |) | |) | | || | (_) | (
_ | || | __/ | | |
|
| ||_/| ./| .__/ |/ _/ _| _|___|| ||
|| ||
An API Doc Generator CLI
C:\Temp\hdg\node_modules\hdg\src\commands\generate.js:67
pkgJson.scripts['docs:build'] = 'vuepress build docs'
^

TypeError: Cannot set properties of undefined (setting 'docs:build')
at Command.generateAPIDoc (C:\Temp\hdg\node_modules\hdg\src\commands\generate.js:67:35)
at process.processTicksAndRejections (node:internal/process/task_queues:105:5)

Node.js v22.11.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions