cli
cli copied to clipboard
When installed as debian package "asyncapi generate fromTemplate asyncapi.yaml @asyncapi/html-template" silently returns 1
Describe the bug
When installed as debian package "asyncapi generate fromTemplate asyncapi.yaml @asyncapi/html-template" silently returns 1.
How to Reproduce
Install debian package. I'm on Mint 21, so it should work the same way on Ubuntu. everything works except generating documentation. no error message, just red dot in vscode console: command returns 1.
Expected behavior
should work and generate docs like npm installed version
Welcome to AsyncAPI. Thanks a lot for reporting your first issue. Please check out our contributors guide and the instructions about a basic recommended setup useful for opening a pull request.
Keep in mind there are also other channels you can use to interact with AsyncAPI community. For more details check out this issue.
can you please confirm if issue is still there using latest AsyncAPI CLI?
Also go the problem with silent return of 1 in GitLab CI
Version: @asyncapi/cli/1.2.28 linux-x64 node-v20.10.0
Reproduction .gitlab-ci.yaml
pages:
image: node:lts
before_script:
- npm install -g @asyncapi/cli
script:
- asyncapi generate fromTemplate https://bit.ly/asyncapi @asyncapi/html-template -o example
artifacts:
paths:
# The folder that contains the files to be exposed at the Page URL
- public
This issue has been automatically marked as stale because it has not had recent activity :sleeping:
It will be closed in 120 days if no further activity occurs. To unstale this issue, add a comment with a detailed explanation.
There can be many reasons why some specific issue has no activity. The most probable cause is lack of time, not lack of interest. AsyncAPI Initiative is a Linux Foundation project not owned by a single for-profit company. It is a community-driven initiative ruled under open governance model.
Let us figure out together how to push this issue forward. Connect with us through one of many communication channels we established here.
Thank you for your patience :heart:
still relevant
This issue has been automatically marked as stale because it has not had recent activity :sleeping:
It will be closed in 120 days if no further activity occurs. To unstale this issue, add a comment with a detailed explanation.
There can be many reasons why some specific issue has no activity. The most probable cause is lack of time, not lack of interest. AsyncAPI Initiative is a Linux Foundation project not owned by a single for-profit company. It is a community-driven initiative ruled under open governance model.
Let us figure out together how to push this issue forward. Connect with us through one of many communication channels we established here.
Thank you for your patience :heart: