asyncapi / asyncapi/cli

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

Open
#2,237 1 comment 0 reactions 0 assignees View on GitHub
bug
Dominant language
TypeScript
Stars
272
Forks
375
Avg merge
3h 22m
Merged PRs (30d)
8

Description

### 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?

- [x] I checked and didn't find similar issue

### 🏢 Have you read the Contributing Guidelines?

- [x] I have read the [Contributing Guidelines](https://github.com/asyncapi/.github/blob/master/CONTRIBUTING.md)

### Are you willing to work on this issue ?

No, someone else can work on it

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.