-
-
Notifications
You must be signed in to change notification settings - Fork 59
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
Error: ENOENT: no such file or directory index.html.js #526
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. |
Not sure if its the same issue but the error is same as #456 |
Receiving this error when updated the package
My current config
|
yo, I don't think that the errors you report here are related to crashing server I invested some time in investigation This is not a crashing operation
This is coming from debug log, we do not throw error here: https://github.com/asyncapi/generator/blob/master/lib/utils.js#L28-L32
I'm using latest
in your script for sure you need to fix also can you share why you're working on server implementation, any particular use case you have? |
@derberg , First of all thanks for taking time to look into the issue. I checked and it does not crash for the production for script I am using server implementation so that when I change the documentation it gets updated during deployment as we are just exposing this document in development server. Do you recommend using cmd line? |
did you think maybe about enabling what you need by client side generation -> https://www.asyncapi.com/blog/event-driven-api-documentation-made-simple-clientside-rendering |
Yeah I think its not a big deal. The production script is working as expected. I am closing this issue then. |
Describe the bug
NodeJS server crashing when trying to generate Static HTML documentation site using
@asyncapi/generator
and@asyncapi/html-template
. Below are the logs produced by generator in debug modeHow to Reproduce
Here are the configurations
Code to generate docs
asyncapi_test.yml
is same as available on https://raw.githubusercontent.com/asyncapi/asyncapi/2.0.0/examples/2.0.0/streetlights.ymlExpected behavior
It should not crash the server, catch the exception and generate proper debug logs.
The text was updated successfully, but these errors were encountered: