TypeScript: Build hangs indefinitely after updating TypeScript to 4.9.3

Bug Report

Since upgrading to 4.9.3 we are seeing frequent occurrences of a “stuck build”:

  • never finishes.
  • doesn’t always get stuck at the same point.
  • seems to happen mostly/only on macOS

Example build that is currently stuck : https://github.com/csstools/postcss-plugins/actions/runs/3500523561/jobs/5863287052

Screenshot 2022-11-18 at 23 11 20

I think it is related to updating TypeScript but I can be wrong about that.

🔎 Search Terms

build hangs infinite

🕗 Version & Regression Information

4.9.3

  • This changed between versions 4.8.4 and 4.9.3

🙁 Actual behavior

build hangs and never finished

🙂 Expected behavior

build does not hang

About this issue

  • Original URL
  • State: closed
  • Created 2 years ago
  • Comments: 19 (6 by maintainers)

Most upvoted comments

I can no longer reproduce this on TypeScript 5.x or 4.9.4. I have no idea what was really going on, hopefully this doesn’t come back 😃

Thank you all for taking a look at this and providing insights!