stack size exceeded on M1/arm64 but not on x86
Dieses Issue hat noch niemand übernommen.
- Vorherrschende Sprache
- JavaScript
- Sterne
- 122k
- Forks
- 37.3k
- Ø Merge
- 4 T. 2 Std.
- Gemergte PRs (30 T.)
- 283
Beschreibung
Version
v16.13.1
Platform
Darwin USAGPM.local 21.2.0 Darwin Kernel Version 21.2.0: Sun Nov 28 20:28:41 PST 2021; root:xnu-8019.61.5~1/RELEASE_ARM64_T6000 arm64
Subsystem
No response
What steps will reproduce the bug?
I have a project with about 1000 typescript files (it's private so I can't point you at it, sorry). It's a react project that uses create-react app.
The arm version of v16 gives:
Failed to compile.
undefined
fork-ts-checker-webpack-plugin error in undefined(undefined,undefined):
Maximum call stack size exceeded TSINTERNAL
The x86 version works fine. I've tried every arm version of v16 that I can find, all have the same issue, every x86 version works with no problem. Running yarn tsc explicitly works fine with both the arm and the x86 version.
How often does it reproduce? Is there a required condition?
With the affected project it happens 100% of the time, with other projects I can't reproduce this.
What is the expected behavior?
x86 and arm behavior should be identical.
What do you see instead?
No response
Additional information
No response
Beitragsleitfaden
Erste Schritte
- Lies das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreib ins Issue, dass du es übernimmst — das erspart doppelte Arbeit.
- Forke das Repository und arbeite in einem Branch.
- Öffne einen Pull Request, der die Issue-Nummer nennt.
Rechercherichtung
Der Bericht nennt Node v16.13.1 auf Darwin arm64, ein React/Create React App-Projekt und yarn tsc, liefert jedoch keine Quelldatei, keinen Test und keine öffentliche Reproduktion. Beginne damit, den Fehler auf arm64 gegenüber x86 mit dem betroffenen Projekt zu reproduzieren und ihn mit einem expliziten yarn tsc zu vergleichen; abgeschlossen bedeutet, eine reproduzierbare Laufzeit- oder Toolchain-Ursache zu isolieren.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- node.js, react, typescript
- Bereich
- build-system, operating-systems
- Issue-Typ
- Bug
- Schwierigkeit
- 4/5
- Geschätzter Aufwand
- 3-5 Tage
- Aktivitätsstatus
- Ruhig
- Klarheit
- Muss geklärt werden
- Anfängerfreundlichkeit
- 35/100