-
Notifications
You must be signed in to change notification settings - Fork 24
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
Running AsyncApiModule.setup logs "Warning: Invalid hook call." and kills the process #551
Comments
Hello! Thank you for filing an issue. If this is a bug report, please include relevant logs to help us debug the problem. |
Hey @JohnICB , thanks for reporting an issue. Can you please move your setup into a min reproduction repo? I've quickly tried in an empty project and with latest nest version and can't reproduce your issue |
I had the same problem |
Describe the bug
Running
AsyncApiModule.setup
causes React error to appear in logs and stops the process.To Reproduce
Steps to reproduce the behavior:
npm i --save nestjs-asyncapi
Expected behavior
The error to not appear in the logs and to start the dashboard.
Environment
Node
v20.10.0
TS:
4.7.2
Edit: Upgraded to 5.3.3, same resultDocker version 24.0.7, build afdd53b
For Tooling issues:
Others:
Edit: using an AppModule empty (no modules imported) raises the same issue
I thought it was from the models, some are more complicated. I guess this rules it out
Edit: Upgraded tsc version
The text was updated successfully, but these errors were encountered: