-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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 Bun on TSC fails #349
Comments
Bun still needs to implement |
@Jarred-Sumner ah ye evan on Discord mentioned that too. He also mentioned that you have already managed to get TSC working with Bun once.. Did you get much of a performance bump? It could be a gamechanger for many people if you get get a performance increase for TSC... |
I'm also interested in the performance gains bun could bring to TSC. Do you have any metrics on that @Jarred-Sumner? |
same issue for me due to process.stderr.fd TypeError: undefined is not an object (evaluating 'process.stderr.fd')
at useColors (/Users/dfornaciari/Development/selly-email-sender/node_modules/debug/src/node.js:158:13) |
there's no workaround for this is there? I have the same issue as @Neo1975 |
😄 |
We're making progress on the Node.js compatibility work that is required to get |
Awesome, if you can show a meaningful improvement in TSC performance with Bun I think that would be a big game changer for tooling for many folks. |
I don't think jsc will be any faster than v8 |
This has been fixed since 0.3.0. |
I just tested this on a huge project with tons on files and a lot of template union types, and where node fails to compile with default memory settings, bun finished successfully 🫰 |
Also tried it on our Typescript project with approx 170k LoC and it was 10sec slower with bun. Node 18: 31sec, bun 0.5.8 41sec |
So our project has 189k LoC, and I don't know if it would be faster, normal tsc running on with node doesn't finish the compilation because of poor memory handling -edit-
|
Not a lot of things come up when searching |
Aww I was really hoping this would work and thus get some TSC speed improvements.
But alas no luck.
Just so this is googleable, the error I get is:
Im running bun 0.1.1 on WSL2
The text was updated successfully, but these errors were encountered: