hoppscotch / hopp-doc-gen

📔 API documentation generator CLI for https://hoppscotch.io
https://hoppscotch.io
MIT License
129 stars 14 forks source link

Generation not working #155

Open manuel-salvatori-lrn opened 3 days ago

manuel-salvatori-lrn commented 3 days ago

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