Skip to content

[BUG] v6.0.1/v6.0.2 - Generator Error: Installation failed: command failed #2237

Description

@pioneer2k

Describe the bug.

We updated from v6.0.0 to v6.0.1 and v6.0.2 an both are not working for us.
We get an error::

AsyncAPI Generator
25l│
◒ Generation in progress. Keep calm and wait a bit...
◇ Generation failed
Generator Error: Installation failed: command failed
25h

Expected behavior

The generation should work like with v6.0.0 before:

┌ AsyncAPI Generator
25l│
[BABEL] Note: The code generator has deoptimised the styling of /libraries/node_modules/@asyncapi/generator/node_modules/@asyncapi/html-template/template/js/asyncapi-ui.min.js as it exceeds the max of 500KB.
◒ Generation in progress. Keep calm and wait a bit...
◇ Check out your shiny new generated files at /github/workspace/asyncapi_LimitRecalculationResult/limitrecalculationresult-events-v1.

25h::endgroup::

Screenshots

see the logs above

How to Reproduce

We use this command in GitHub Actions:

- name: Generating HTML from LimitAdjustment AsyncAPI document
  uses: asyncapi/cli@fb73ff3a429c1bc6a14c1b89f12601288677b9fa # v6.0.2
  with:
    template: '@asyncapi/html-template@3.5.0'
    filepath: src/main/resources/asyncapi_LimitAdjustment.yml
    parameters: --force-write -p singleFile=true
    output: asyncapi_LimitAdjustment/limitadjustment-events-v1

🖥️ Device Information [optional]

GitHub Actions with ubuntu-latest

👀 Have you checked for similar open issues?

  • I checked and didn't find similar issue

🏢 Have you read the Contributing Guidelines?

Are you willing to work on this issue ?

No, someone else can work on it

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    Status
    To Triage

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions