Causes tsc to stall indefinitely
See original GitHub issueInitial checklist
- I read the support docs
- I read the contributing guide
- I agree to follow the code of conduct
- I searched issues and couldn’t find anything (or linked relevant results below)
Affected packages and versions
4.1.0
Link to runnable example
No response
Steps to reproduce
clone https://github.com/cjroebuck/next-build-stalled
npm i
npx tsc
typescript version 4.5.2
(typescript version 4.4.3 does build ok)
Expected behavior
build shouldn’t stall
Actual behavior
build stalls indefinitely
In order to get the build to pass, comment out this line
I suspect it’s an issue with the unist-util-visit types?
Runtime
Node v16
Package manager
npm v7
OS
macOS
Build and bundle tools
Next.js
Issue Analytics
- State:
- Created 2 years ago
- Reactions:5
- Comments:16 (5 by maintainers)
Top Results From Across the Web
Clocksource tsc unstable leads to lockups - Launchpad Bugs
The TSC messages are indeed not issued, neither are btw the "hpet increasing" errors, but the system still stalls after a while.
Read more >Long stall of a core - Processors forum - Processors - TI E2E support ...
I saw that from time to time a core was stalled for a long time, namely 500 seconds (+- 1 second)! After this...
Read more >WO2011087558A2 - Controlling time stamp counter (tsc) offsets for ...
Having time going backwards between two processors can cause adverse results, ... to update the TSC value for a given core can be...
Read more >INFO: rcu_preempt detected stalls on CPUs/tasks
sleep indefinitely, in turn indefinitely delaying completion of the ... This commit therefore makes CPUs check more carefully before starting a
Read more >Getting the Smell Out of Your Rubber Gym Floor - Gym Crafter
The heat from the sun will speed the release of chemicals causing the ... outlet than you would spend on stall mats from...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Alternative to pinning typescript version - you can pin
unist-util-visit
to4.0.0
and also avoid the tsc hang.This has been resolved in TypeScript 4.6 https://devblogs.microsoft.com/typescript/announcing-typescript-4-6/#improved-recursion-depth-checks The fix has also been backported to 4.5