-
-
Notifications
You must be signed in to change notification settings - Fork 233
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG] Demo from homepage does not work #1153
Comments
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. |
can you specify which demo site you have in mind the docker command should have |
Sorry, I should be more precise. https://www.asyncapi.com/tools/generator |
As I tried to replicate the issue, I actually ran into a different problem. It says that the Additionally, you mentioned that
Should we update the doc to reflect this? |
Sorry for late response. Root user worked. Thanks. |
@derberg This issue seems to be resolved already. Should we close it? |
@lmgyuan would be good to update instruction in website. This is a common issue, a need to use root user - mainly because of necessary transpilation that happens in the template |
If no one else is going to raise a PR, I am happy to fix the instruction in website for this : ) |
@lmgyuan please go ahead |
@derberg I came across the same while installing the image using docker as of which I've opened a PR in website repo fixing this asyncapi/website#3213 |
Describe the bug.
Runnig demo usage using docker publish on project's homepage fails.
docker run --rm -it -v ${PWD}/example:/app/example -v ${PWD}/output:/app/output
asyncapi/cli generate fromTemplate https://bit.ly/asyncapi @asyncapi/html-template -o example
Expected behavior
Expected is that docs are generated using html template.
Screenshots
docker run --rm -it -v ${PWD}/example:/app/example -v ${PWD}/output:/app/output asyncapi/cli generate fromTemplate https://bit.ly/asyncapi @asyncapi/html-template -o example
Generation in progress. Keep calm and wait a bit... done
Generator Error: Installation failed
How to Reproduce
docker run --rm -it -v ${PWD}/example:/app/example -v ${PWD}/output:/app/output asyncapi/cli generate fromTemplate https://bit.ly/asyncapi @asyncapi/html-template -o example
🥦 Browser
None
👀 Have you checked for similar open issues?
🏢 Have you read the Contributing Guidelines?
Are you willing to work on this issue ?
None
The text was updated successfully, but these errors were encountered: