-
-
Notifications
You must be signed in to change notification settings - Fork 136
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
[nuxt-client] @hey-api/client-nuxt breaks production server #1723
Comments
Hi @lvaroqui, does this fix it for you? #1660 (comment) |
Hi @mrlubos, it does indeed! I can't believe I didn't see the issue after looking around for 3 hours T_T I think this should be addressed in the README and updated in the example. In the best case, user shouldn't be able to run into this issue! |
The mentioned solution works for me too, but I have a feeling it can only be a temporary one. I agree with @lvaroqui about what’s causing the issue. I don’t think this should be included in the readme or the docs. |
I spent 3 hours finding the root cause of the issue yesterday. So, until a proper fix is implemented, updating the README and doc seems pretty useful so others don't run into the same problem! |
If it won't become the final solution then sure, that would also help. I also spent half a day with this issue. |
This will be fixed soon, thank you for your patience! |
Description
When using
@hey-api/client-nuxt
somewhere in the nuxt app, the production build is broken.Reproducible example or configuration
This is easily reproducible with the example in this repo:
Then try to load the page at http://localhost:3000, and the servers throws an internal error:
The error is unfortunately not very descriptive, but I think it is related to the way
@hey-api/client-nuxt
imports thenuxt/app
module. I suspect '@hey-api/client-nuxt' should be a nuxt plugin or nuxt moduleOpenAPI specification (optional)
No response
System information (optional)
No response
The text was updated successfully, but these errors were encountered: