-
-
Notifications
You must be signed in to change notification settings - Fork 591
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
(upstream TypeScript bug) Builds hang with typescript 4.4.2 #983
Comments
I'd recommend using a stable version of TS. We won't test the plugin against it until they release a stable. You might also want to try that locally to see if it's reproducible. |
Yes, it reproducible locally. |
I am also able to reproduce this issue. 4.4-beta works but 4.4-rc (and the nightly 4.5.0-dev.20210824) hangs indefinitely. |
Good info. We'll welcome triage on this, but until a stable release is cut from the TypeScript folks, the core team here likely won't troubleshoot this. We'll have to wait for a stable release to merge any fixes as well. |
Thanks, I understand. |
Can confirm this is an issue with stable TypeScript 4.4.2. |
Rollup is broken with TypeScript 4.4 due to rollup/plugins#983
This needs to be resolved before switching to 4.4: rollup/plugins#983
Running my (hanging) build (with an empty file to bundle) using
It seems to me that TypeScript is keeping open a few watchers... I added a few
Does this look like a |
@michael42 It might be worth opening an issue on typescript's repo with your findings. |
rollup hangs with typescript 4.4.2 rollup/plugins#983
rollup hangs with typescript 4.4.2 rollup/plugins#983
rollup hangs with typescript 4.4.2 rollup/plugins#983
Same issue for me on 4.4.2 test.ts: rollup.config.js:
Note: Update: Downgrading typescript to 4.1.6 fixes the issue. Will wait for 4.4.3 |
It'll be fixed with TypeScript 4.4.3. See microsoft/TypeScript#45633. |
@RebeccaStevens since this is a confirmed issue with TypeScript itself I believe this issue can be closed. |
Closing due to this being an upstream bug. |
Same error, downgrade to |
TS 4.4.2 is unfortunately not possible yet, as there’s this rollup+typescript bug that will most likely be fixed in TS 4.4.3: rollup/plugins#983 microsoft/TypeScript#45633
Reopening this since we've got a number of people struggling to search issues and we're seeing an increase in duplicates on this one. Note: To anyone viewing this issue, this is an upstream issue with TypeScript and not something we can control as noted in this comment #983 (comment)Please do not add "same here," "me too", "+1" replies to this issue. |
@andrewbranch Any chance that path version is going to be released soon? It seems this issue is gathering some massive attention. |
Please do your homework before pinging maintainers (those folks are stupid busy). He already addressed that here: microsoft/TypeScript#45642 (comment) Please ask TypeScript maintainers questions in associated TypeScript project PRs or Issues. |
Expected Behavior
The build should complete.
Actual Behavior
The build hangs. (The cli command never completes.)
The text was updated successfully, but these errors were encountered: