-
-
Notifications
You must be signed in to change notification settings - Fork 66
Open
Labels
Description
Could be a bug could be just me as a newbie
Just got around from updating from the old npm and ag way of doing things to the new way.
Since I am on Apple Silicon and hit some issues I decided to use docker and mount all the files I needed
docker run --rm -it --user=root \
-v ./specs/services/compute.yml:/app/asyncapi.yml \
-v ./specs/schemas/schemas.yml:/schemas/schemas.yml \
-v ./specs/messages/messages.yml:/messages/messages.yml \
-v ./build/generated-docs/html/compute:/app/output \
asyncapi/cli generate fromTemplate -o /app/output /app/asyncapi.yml @asyncapi/html-template@3.2.0 --use-new-generator --force-write
I fixed all the issues in my schema and it runs without complaint
Generation in progress. Keep calm and wait a bit
[BABEL] Note: The code generator has deoptimised the styling of /libraries/node_modules/generator-v2/node_modules/@asyncapi/html-template/template/js/asyncapi-ui.min.js as it exceeds the max of 500KB.
Check out your shiny new generated files at /app/output.
but when I look at the generated output I see a header and no content. Any ideas? Using @asyncapi/html-template@3.0.0
I can see the full schema in the page source - see below
Environment: Apple Silicon
Please let me know if you need any more information