-
-
Notifications
You must be signed in to change notification settings - Fork 111
Error compiling generated code #2124
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
Comments
it would also be really handy if |
I honestly don't know what's going on with bun here ... ZenStack uses ts-morph to generate TS code and compile. The errors seem to indicate somehow an older version of tsc is used so new generics syntax is not recognized, but I don't know how and why bun interferes with ts-morph ... |
It seems to work when I explicitly set tsconfig's "compiler.types" to an empty array. Will attempt a fix. |
- explicitly pass "types": [] to tsconfig to avoid bun compilation errors - detect bun as package manager fixes Error compiling generated code #2124
Absolutely thrilled with the seamless functionality of the |
Thank you for confirming it works. I'm glad you pushed for it! |
Error:
package.json:
The text was updated successfully, but these errors were encountered: