Skip to content

npm build doesn't generate anything #43

@ghenry

Description

@ghenry

Hi all,

If I run npm build I get:

~/src/SureVoIP-API-Specification [master*]$ npm build
~/src/SureVoIP-API-Specification [master*]$ ls
LICENSE  node_modules  package.json  package-lock.json  README.md  redocly.yaml  spec  web

if I do it by hand it works:

~/src/SureVoIP-API-Specification [master*]$ node_modules/swagger-repo/bin/swagger-repo.js build -o web_deploy
[spec] Adding paths
[spec] Adding components/schemas to spec
[spec] Adding components/responses to spec
[spec] Adding components/headers to spec
[spec] Adding components/securitySchemes to spec
[spec] Adding code samples
Copied /web to web_deploy
Copied Swagger UI to web_deploy/swagger-ui
Created web_deploy/openapi.json
Created web_deploy/openapi.yaml
Created web_deploy/index.html

Any ideas what's going on?

Thanks.

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