microsoft / TypeScript

TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
https://www.typescriptlang.org
Apache License 2.0
101k stars 12.48k forks source link

[ServerErrors][TypeScript] 5.3.0-dev.20230924 #55888

Closed typescript-bot closed 1 year ago

typescript-bot commented 1 year ago

The following errors were reported by 5.3.0-dev.20230924 Pipeline that generated this bug Logs for the pipeline run File that generated the pipeline

This run considered 200 popular TS repos from GH (after skipping the top 0).

Successfully analyzed 189 of 200 visited repos | Outcome | Count | |---------|-------| | Detected interesting changes | 8 | | Detected no interesting changes | 181 | | Git clone failed | 3 | | Language service disabled in new TS | 1 | | Unknown failure | 7 |

Investigation Status

Repo Errors Outcome
05dc022b77792efd84491358bf4bf0af 1
48320afd806abe415b30d9c6cf04ea11 1
5de9dad9ca15055417eb0e2daa6eb7ed 1
64a760cdc074dcd257130e572f0b4e2e 1
7a57ac904ce935acb6bad9de8d4b7411 1
86b9e2e0b6a274c789944c484c00814e 1
9eba02902c4877c45930e7cd599cf7d9 1
ab3370786558307c6c38cf6af31209cb 1
typescript-bot commented 1 year ago

Server exited prematurely with code unknown and signal SIGABRT

Server exited prematurely with code unknown and signal SIGABRT

Affected repos

calcom/cal.com Raw error text: RepoResults4/calcom.cal.com.rawError.txt in the artifact folder

Last few requests

```json {"seq":852,"type":"request","command":"updateOpen","arguments":{"changedFiles":[{"fileName":"@PROJECT_ROOT@/apps/swagger/pages/index.tsx","textChanges":[{"newText":" //comment","start":{"line":1,"offset":36},"end":{"line":1,"offset":36}}]}],"closedFiles":[],"openFiles":[]}} {"seq":853,"type":"request","command":"completionInfo","arguments":{"file":"@PROJECT_ROOT@/apps/swagger/pages/index.tsx","line":2,"offset":24,"includeExternalModuleExports":false,"triggerKind":2,"triggerCharacter":" "}} {"seq":854,"type":"request","command":"updateOpen","arguments":{"changedFiles":[],"closedFiles":["@PROJECT_ROOT@/apps/api/test/lib/bookings/_post.test.ts"],"openFiles":[]}} {"seq":855,"type":"request","command":"updateOpen","arguments":{"changedFiles":[],"closedFiles":[],"openFiles":[{"file":"@PROJECT_ROOT@/apps/web/components/AddToHomescreen.tsx","projectRootPath":"@PROJECT_ROOT@"}]}} ```

Repro steps

  1. git clone https://github.com/calcom/cal.com --recurse-submodules
  2. In dir cal.com, run git reset --hard 798707a553043ec2e4b69cb5c942dcc59ed204cb
  3. In dir cal.com, run yarn install --no-immutable --mode=skip-build
  4. Back in the initial folder, download RepoResults4/calcom.cal.com.replay.txt from the artifact folder
  5. npm install --no-save @typescript/server-replay
  6. npx tsreplay ./cal.com ./calcom.cal.com.replay.txt path/to/tsserver.js
  7. npx tsreplay --help to learn about helpful switches for debugging, logging, etc
typescript-bot commented 1 year ago

Error: start < 0

Req #4929 - references
    at createTextSpan (/typescript-5.3.0-dev.20230924/lib/tsserver.js:13615:11)
    at createTextSpanFromBounds (/typescript-5.3.0-dev.20230924/lib/tsserver.js:13623:10)
    at getErrorSpanForNode (/typescript-5.3.0-dev.20230924/lib/tsserver.js:16378:10)
    at createDiagnosticForNodeFromMessageChain (/typescript-5.3.0-dev.20230924/lib/tsserver.js:16215:16)
    at resolveExternalModule (/typescript-5.3.0-dev.20230924/lib/tsserver.js:51109:31)
    at resolveExternalModuleNameWorker (/typescript-5.3.0-dev.20230924/lib/tsserver.js:51006:61)
    at resolveExternalModuleName (/typescript-5.3.0-dev.20230924/lib/tsserver.js:51003:12)
    at getSymbolAtLocation (/typescript-5.3.0-dev.20230924/lib/tsserver.js:85900:18)
    at Object.getSymbolAtLocation (/typescript-5.3.0-dev.20230924/lib/tsserver.js:47892:21)
    at /typescript-5.3.0-dev.20230924/lib/tsserver.js:162329:36
    at forEachImport (/typescript-5.3.0-dev.20230924/lib/tsserver.js:162365:7)
    at findModuleReferences (/typescript-5.3.0-dev.20230924/lib/tsserver.js:162328:5)
    at getReferencedSymbolsForModule (/typescript-5.3.0-dev.20230924/lib/tsserver.js:163219:35)
    at getReferencedSymbolsForModuleIfDeclaredBySourceFile (/typescript-5.3.0-dev.20230924/lib/tsserver.js:163159:30)
    at Object.getReferencedSymbolsForNode (/typescript-5.3.0-dev.20230924/lib/tsserver.js:163089:30)
    at Object.findReferencedSymbols (/typescript-5.3.0-dev.20230924/lib/tsserver.js:162680:34)
    at Object.findReferences (/typescript-5.3.0-dev.20230924/lib/tsserver.js:144527:41)
    at /typescript-5.3.0-dev.20230924/lib/tsserver.js:182653:43
    at searchPosition (/typescript-5.3.0-dev.20230924/lib/tsserver.js:182803:28)
    at getPerProjectReferences (/typescript-5.3.0-dev.20230924/lib/tsserver.js:182780:32)
    at getReferencesWorker (/typescript-5.3.0-dev.20230924/lib/tsserver.js:182645:29)
    at IOSession.getReferences (/typescript-5.3.0-dev.20230924/lib/tsserver.js:184552:24)
    at references (/typescript-5.3.0-dev.20230924/lib/tsserver.js:183076:43)
    at /typescript-5.3.0-dev.20230924/lib/tsserver.js:185583:69
    at IOSession.executeWithRequestId (/typescript-5.3.0-dev.20230924/lib/tsserver.js:185575:14)
    at IOSession.executeCommand (/typescript-5.3.0-dev.20230924/lib/tsserver.js:185583:29)
    at IOSession.onMessage (/typescript-5.3.0-dev.20230924/lib/tsserver.js:185625:51)
    at Interface.<anonymous> (/typescript-5.3.0-dev.20230924/lib/tsserver.js:187182:14)

Affected repos

facebook/docusaurus Raw error text: RepoResults1/facebook.docusaurus.rawError.txt in the artifact folder

Last few requests

```json {"seq":4926,"type":"request","command":"completionInfo","arguments":{"file":"@PROJECT_ROOT@/packages/docusaurus-plugin-content-docs/src/cli.ts","line":19,"offset":34,"includeExternalModuleExports":false,"triggerKind":2,"triggerCharacter":" "}} {"seq":4927,"type":"request","command":"definitionAndBoundSpan","arguments":{"file":"@PROJECT_ROOT@/packages/docusaurus-plugin-content-docs/src/cli.ts","line":22,"offset":35}} {"seq":4928,"type":"request","command":"definitionAndBoundSpan","arguments":{"file":"@PROJECT_ROOT@/packages/docusaurus-plugin-content-docs/src/cli.ts","line":23,"offset":33}} {"seq":4929,"type":"request","command":"references","arguments":{"file":"@PROJECT_ROOT@/packages/docusaurus-plugin-content-docs/src/cli.ts","line":23,"offset":33}} ```

Repro steps

  1. git clone https://github.com/facebook/docusaurus --recurse-submodules
  2. In dir docusaurus, run git reset --hard 46407ecc2d6eab74b78d08180d22930797e0f8cd
  3. Install packages (exact steps are below, but it might be easier to follow the repo readme)
    1. In dir docusaurus/admin/scripts, run yarn install --ignore-engines --ignore-scripts --silent
    2. In dir docusaurus/examples/classic-typescript, run yarn install --ignore-engines --ignore-scripts --silent
    3. In dir docusaurus/examples/classic, run yarn install --ignore-engines --ignore-scripts --silent
    4. In dir docusaurus, run yarn install --ignore-engines --ignore-scripts --silent
  4. Back in the initial folder, download RepoResults1/facebook.docusaurus.replay.txt from the artifact folder
  5. npm install --no-save @typescript/server-replay
  6. npx tsreplay ./docusaurus ./facebook.docusaurus.replay.txt path/to/tsserver.js
  7. npx tsreplay --help to learn about helpful switches for debugging, logging, etc

typescript-bot commented 1 year ago

Error: Debug Failure. False expression.

Req #6981 - completionInfo
    at consumeTokenAndAdvanceScanner (/typescript-5.3.0-dev.20230926/lib/tsserver.js:171691:13)
    at processChildNode (/typescript-5.3.0-dev.20230926/lib/tsserver.js:171600:9)
    at /typescript-5.3.0-dev.20230926/lib/tsserver.js:171539:9
    at visitNode2 (/typescript-5.3.0-dev.20230926/lib/tsserver.js:30116:18)
    at forEachChildInPropertySignature (/typescript-5.3.0-dev.20230926/lib/tsserver.js:30172:92)
    at forEachChild (/typescript-5.3.0-dev.20230926/lib/tsserver.js:30633:35)
    at processNode (/typescript-5.3.0-dev.20230926/lib/tsserver.js:171536:5)
    at processChildNode (/typescript-5.3.0-dev.20230926/lib/tsserver.js:171615:7)
    at processChildNodes (/typescript-5.3.0-dev.20230926/lib/tsserver.js:171658:32)
    at /typescript-5.3.0-dev.20230926/lib/tsserver.js:171552:9
    at visitNodes (/typescript-5.3.0-dev.20230926/lib/tsserver.js:30121:14)
    at forEachChildInTypeLiteral (/typescript-5.3.0-dev.20230926/lib/tsserver.js:30231:12)
    at forEachChild (/typescript-5.3.0-dev.20230926/lib/tsserver.js:30633:35)
    at processNode (/typescript-5.3.0-dev.20230926/lib/tsserver.js:171536:5)
    at processChildNode (/typescript-5.3.0-dev.20230926/lib/tsserver.js:171615:7)
    at /typescript-5.3.0-dev.20230926/lib/tsserver.js:171539:9
    at visitNode2 (/typescript-5.3.0-dev.20230926/lib/tsserver.js:30116:18)
    at forEachChildInParameter (/typescript-5.3.0-dev.20230926/lib/tsserver.js:30166:177)
    at forEachChild (/typescript-5.3.0-dev.20230926/lib/tsserver.js:30633:35)
    at processNode (/typescript-5.3.0-dev.20230926/lib/tsserver.js:171536:5)
    at processChildNode (/typescript-5.3.0-dev.20230926/lib/tsserver.js:171615:7)
    at processChildNodes (/typescript-5.3.0-dev.20230926/lib/tsserver.js:171658:32)
    at /typescript-5.3.0-dev.20230926/lib/tsserver.js:171552:9
    at visitNodes (/typescript-5.3.0-dev.20230926/lib/tsserver.js:30121:14)
    at forEachChildInMethodSignature (/typescript-5.3.0-dev.20230926/lib/tsserver.js:30198:186)
    at forEachChild (/typescript-5.3.0-dev.20230926/lib/tsserver.js:30633:35)
    at processNode (/typescript-5.3.0-dev.20230926/lib/tsserver.js:171536:5)
    at processChildNode (/typescript-5.3.0-dev.20230926/lib/tsserver.js:171615:7)
    at processChildNodes (/typescript-5.3.0-dev.20230926/lib/tsserver.js:171658:32)
    at /typescript-5.3.0-dev.20230926/lib/tsserver.js:171552:9
    at visitNodes (/typescript-5.3.0-dev.20230926/lib/tsserver.js:30121:14)
    at forEachChildInTypeLiteral (/typescript-5.3.0-dev.20230926/lib/tsserver.js:30231:12)
    at forEachChild (/typescript-5.3.0-dev.20230926/lib/tsserver.js:30633:35)
    at processNode (/typescript-5.3.0-dev.20230926/lib/tsserver.js:171536:5)
    at processChildNode (/typescript-5.3.0-dev.20230926/lib/tsserver.js:171615:7)
    at processChildNodes (/typescript-5.3.0-dev.20230926/lib/tsserver.js:171658:32)
    at /typescript-5.3.0-dev.20230926/lib/tsserver.js:171552:9
    at visitNodes (/typescript-5.3.0-dev.20230926/lib/tsserver.js:30121:14)
    at forEachChildInUnionOrIntersectionType (/typescript-5.3.0-dev.20230926/lib/tsserver.js:30580:10)
    at forEachChild (/typescript-5.3.0-dev.20230926/lib/tsserver.js:30633:35)
    at processNode (/typescript-5.3.0-dev.20230926/lib/tsserver.js:171536:5)
    at processChildNode (/typescript-5.3.0-dev.20230926/lib/tsserver.js:171615:7)
    at /typescript-5.3.0-dev.20230926/lib/tsserver.js:171539:9
    at visitNode2 (/typescript-5.3.0-dev.20230926/lib/tsserver.js:30116:18)
    at forEachChildInParameter (/typescript-5.3.0-dev.20230926/lib/tsserver.js:30166:177)
    at forEachChild (/typescript-5.3.0-dev.20230926/lib/tsserver.js:30633:35)
    at processNode (/typescript-5.3.0-dev.20230926/lib/tsserver.js:171536:5)
    at processChildNode (/typescript-5.3.0-dev.20230926/lib/tsserver.js:171615:7)
    at processChildNodes (/typescript-5.3.0-dev.20230926/lib/tsserver.js:171658:32)
    at /typescript-5.3.0-dev.20230926/lib/tsserver.js:171552:9
    at visitNodes (/typescript-5.3.0-dev.20230926/lib/tsserver.js:30121:14)
    at forEachChildInMethodDeclaration (/typescript-5.3.0-dev.20230926/lib/tsserver.js:30195:273)
    at forEachChild (/typescript-5.3.0-dev.20230926/lib/tsserver.js:30633:35)
    at processNode (/typescript-5.3.0-dev.20230926/lib/tsserver.js:171536:5)
    at formatSpanWorker (/typescript-5.3.0-dev.20230926/lib/tsserver.js:171338:5)
    at /typescript-5.3.0-dev.20230926/lib/tsserver.js:171278:105
    at getFormattingScanner (/typescript-5.3.0-dev.20230926/lib/tsserver.js:170081:15)
    at Object.formatNodeGivenIndentation (/typescript-5.3.0-dev.20230926/lib/tsserver.js:171278:10)
    at /typescript-5.3.0-dev.20230926/lib/tsserver.js:158690:36
    at flatMap (/typescript-5.3.0-dev.20230926/lib/tsserver.js:2597:17)
    at Object.printAndFormatSnippetList (/typescript-5.3.0-dev.20230926/lib/tsserver.js:158688:21)
    at getEntryForMemberCompletion (/typescript-5.3.0-dev.20230926/lib/tsserver.js:158451:28)
    at createCompletionEntry (/typescript-5.3.0-dev.20230926/lib/tsserver.js:158275:35)
    at getCompletionEntriesFromSymbols (/typescript-5.3.0-dev.20230926/lib/tsserver.js:158859:19)
    at completionInfoFromData (/typescript-5.3.0-dev.20230926/lib/tsserver.js:157931:23)
    at Object.getCompletionsAtPosition (/typescript-5.3.0-dev.20230926/lib/tsserver.js:157473:24)
    at Object.getCompletionsAtPosition2 [as getCompletionsAtPosition] (/typescript-5.3.0-dev.20230926/lib/tsserver.js:144391:35)
    at IOSession.getCompletions (/typescript-5.3.0-dev.20230926/lib/tsserver.js:184817:54)
    at completionInfo (/typescript-5.3.0-dev.20230926/lib/tsserver.js:183213:43)
    at /typescript-5.3.0-dev.20230926/lib/tsserver.js:185601:69
    at IOSession.executeWithRequestId (/typescript-5.3.0-dev.20230926/lib/tsserver.js:185593:14)
    at IOSession.executeCommand (/typescript-5.3.0-dev.20230926/lib/tsserver.js:185601:29)
    at IOSession.onMessage (/typescript-5.3.0-dev.20230926/lib/tsserver.js:185643:51)
    at Interface.<anonymous> (/typescript-5.3.0-dev.20230926/lib/tsserver.js:187200:14)

Affected repos

baidu/amis Raw error text: RepoResults8/baidu.amis.rawError.txt in the artifact folder

Last few requests

```json {"seq":6978,"type":"request","command":"organizeImports","arguments":{"scope":{"type":"file","args":{"file":"@PROJECT_ROOT@/packages/amis-editor/src/plugin/Layout/FlexPluginBase.tsx"}},"skipDestructiveCodeActions":true}} {"seq":6979,"type":"request","command":"getOutliningSpans","arguments":{"file":"@PROJECT_ROOT@/packages/amis-editor/src/plugin/Layout/FlexPluginBase.tsx"}} {"seq":6980,"type":"request","command":"references","arguments":{"file":"@PROJECT_ROOT@/packages/amis-editor/src/plugin/Layout/FlexPluginBase.tsx","line":2,"offset":4}} {"seq":6981,"type":"request","command":"completionInfo","arguments":{"file":"@PROJECT_ROOT@/packages/amis-editor/src/plugin/Layout/FlexPluginBase.tsx","line":56,"offset":26,"includeExternalModuleExports":false,"triggerKind":1}} ```

Repro steps

  1. git clone https://github.com/baidu/amis --recurse-submodules
  2. In dir amis, run git reset --hard 753ed430cadb2ecc06cb4e960d99812da77b586d
  3. Install packages (exact steps are below, but it might be easier to follow the repo readme)
    1. In dir amis/mock/cfc, run npm install --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q
    2. In dir amis, run npm install --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q
  4. Back in the initial folder, download RepoResults8/baidu.amis.replay.txt from the artifact folder
  5. npm install --no-save @typescript/server-replay
  6. npx tsreplay ./amis ./baidu.amis.replay.txt path/to/tsserver.js
  7. npx tsreplay --help to learn about helpful switches for debugging, logging, etc

typescript-bot commented 1 year ago

TypeError: Cannot read properties of undefined (reading 'flags')

Req #2920 - completionInfo
    at getSymbolLinks (/typescript-5.3.0-dev.20230926/lib/tsserver.js:49149:16)
    at runWithoutResolvedSignatureCaching (/typescript-5.3.0-dev.20230926/lib/tsserver.js:48228:32)
    at runWithInferenceBlockedFromSourceNode (/typescript-5.3.0-dev.20230926/lib/tsserver.js:48256:20)
    at Object.getContextualType (/typescript-5.3.0-dev.20230926/lib/tsserver.js:47965:16)
    at getContextualType (/typescript-5.3.0-dev.20230926/lib/tsserver.js:159243:19)
    at getCompletionData (/typescript-5.3.0-dev.20230926/lib/tsserver.js:159474:43)
    at Object.getCompletionsAtPosition (/typescript-5.3.0-dev.20230926/lib/tsserver.js:157455:26)
    at Object.getCompletionsAtPosition2 [as getCompletionsAtPosition] (/typescript-5.3.0-dev.20230926/lib/tsserver.js:144391:35)
    at IOSession.getCompletions (/typescript-5.3.0-dev.20230926/lib/tsserver.js:184817:54)
    at completionInfo (/typescript-5.3.0-dev.20230926/lib/tsserver.js:183213:43)
    at /typescript-5.3.0-dev.20230926/lib/tsserver.js:185601:69
    at IOSession.executeWithRequestId (/typescript-5.3.0-dev.20230926/lib/tsserver.js:185593:14)
    at IOSession.executeCommand (/typescript-5.3.0-dev.20230926/lib/tsserver.js:185601:29)
    at IOSession.onMessage (/typescript-5.3.0-dev.20230926/lib/tsserver.js:185643:51)
    at Interface.<anonymous> (/typescript-5.3.0-dev.20230926/lib/tsserver.js:187200:14)

Affected repos

remotion-dev/remotion Raw error text: RepoResults7/remotion-dev.remotion.rawError.txt in the artifact folder

Last few requests

```json {"seq":2917,"type":"request","command":"references","arguments":{"file":"@PROJECT_ROOT@/packages/cloudrun/src/api/iam-validation/testPermissions.ts","line":26,"offset":4}} {"seq":2918,"type":"request","command":"completionInfo","arguments":{"file":"@PROJECT_ROOT@/packages/cloudrun/src/api/iam-validation/testPermissions.ts","line":26,"offset":4,"includeExternalModuleExports":false,"triggerKind":1}} {"seq":2919,"type":"request","command":"completionEntryDetails","arguments":{"file":"@PROJECT_ROOT@/packages/cloudrun/src/api/iam-validation/testPermissions.ts","line":26,"offset":4,"entryNames":["@abstract"]}} {"seq":2920,"type":"request","command":"completionInfo","arguments":{"file":"@PROJECT_ROOT@/packages/cloudrun/src/api/iam-validation/testPermissions.ts","line":26,"offset":36,"includeExternalModuleExports":false,"triggerKind":1}} ```

Repro steps

  1. git clone https://github.com/remotion-dev/remotion --recurse-submodules
  2. In dir remotion, run git reset --hard 7b154be7effcaa1f6972abf20f9ad59e42cd994e
  3. In dir remotion, run pnpm install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent
  4. Back in the initial folder, download RepoResults7/remotion-dev.remotion.replay.txt from the artifact folder
  5. npm install --no-save @typescript/server-replay
  6. npx tsreplay ./remotion ./remotion-dev.remotion.replay.txt path/to/tsserver.js
  7. npx tsreplay --help to learn about helpful switches for debugging, logging, etc
typescript-bot commented 1 year ago

Error: Debug Failure. False expression: Token end is child end

Req #13446 - completionInfo
    at processChildNode (/typescript-5.3.0-dev.20230924/lib/tsserver.js:171591:17)
    at /typescript-5.3.0-dev.20230924/lib/tsserver.js:171522:9
    at visitNode2 (/typescript-5.3.0-dev.20230924/lib/tsserver.js:30109:18)
    at forEachChildInPropertySignature (/typescript-5.3.0-dev.20230924/lib/tsserver.js:30165:59)
    at forEachChild (/typescript-5.3.0-dev.20230924/lib/tsserver.js:30626:35)
    at processNode (/typescript-5.3.0-dev.20230924/lib/tsserver.js:171519:5)
    at processChildNode (/typescript-5.3.0-dev.20230924/lib/tsserver.js:171598:7)
    at processChildNodes (/typescript-5.3.0-dev.20230924/lib/tsserver.js:171641:32)
    at /typescript-5.3.0-dev.20230924/lib/tsserver.js:171535:9
    at visitNodes (/typescript-5.3.0-dev.20230924/lib/tsserver.js:30114:14)
    at forEachChildInTypeLiteral (/typescript-5.3.0-dev.20230924/lib/tsserver.js:30224:12)
    at forEachChild (/typescript-5.3.0-dev.20230924/lib/tsserver.js:30626:35)
    at processNode (/typescript-5.3.0-dev.20230924/lib/tsserver.js:171519:5)
    at processChildNode (/typescript-5.3.0-dev.20230924/lib/tsserver.js:171598:7)
    at /typescript-5.3.0-dev.20230924/lib/tsserver.js:171522:9
    at visitNode2 (/typescript-5.3.0-dev.20230924/lib/tsserver.js:30109:18)
    at forEachChildInPropertyDeclaration (/typescript-5.3.0-dev.20230924/lib/tsserver.js:30162:179)
    at forEachChild (/typescript-5.3.0-dev.20230924/lib/tsserver.js:30626:35)
    at processNode (/typescript-5.3.0-dev.20230924/lib/tsserver.js:171519:5)
    at formatSpanWorker (/typescript-5.3.0-dev.20230924/lib/tsserver.js:171321:5)
    at /typescript-5.3.0-dev.20230924/lib/tsserver.js:171261:105
    at getFormattingScanner (/typescript-5.3.0-dev.20230924/lib/tsserver.js:170064:15)
    at Object.formatNodeGivenIndentation (/typescript-5.3.0-dev.20230924/lib/tsserver.js:171261:10)
    at /typescript-5.3.0-dev.20230924/lib/tsserver.js:158672:36
    at flatMap (/typescript-5.3.0-dev.20230924/lib/tsserver.js:2596:17)
    at Object.printAndFormatSnippetList (/typescript-5.3.0-dev.20230924/lib/tsserver.js:158670:21)
    at getEntryForMemberCompletion (/typescript-5.3.0-dev.20230924/lib/tsserver.js:158433:28)
    at createCompletionEntry (/typescript-5.3.0-dev.20230924/lib/tsserver.js:158257:35)
    at getCompletionEntriesFromSymbols (/typescript-5.3.0-dev.20230924/lib/tsserver.js:158841:19)
    at completionInfoFromData (/typescript-5.3.0-dev.20230924/lib/tsserver.js:157913:23)
    at Object.getCompletionsAtPosition (/typescript-5.3.0-dev.20230924/lib/tsserver.js:157455:24)
    at Object.getCompletionsAtPosition2 [as getCompletionsAtPosition] (/typescript-5.3.0-dev.20230924/lib/tsserver.js:144373:35)
    at IOSession.getCompletions (/typescript-5.3.0-dev.20230924/lib/tsserver.js:184799:54)
    at completionInfo (/typescript-5.3.0-dev.20230924/lib/tsserver.js:183195:43)
    at /typescript-5.3.0-dev.20230924/lib/tsserver.js:185583:69
    at IOSession.executeWithRequestId (/typescript-5.3.0-dev.20230924/lib/tsserver.js:185575:14)
    at IOSession.executeCommand (/typescript-5.3.0-dev.20230924/lib/tsserver.js:185583:29)
    at IOSession.onMessage (/typescript-5.3.0-dev.20230924/lib/tsserver.js:185625:51)
    at Interface.<anonymous> (/typescript-5.3.0-dev.20230924/lib/tsserver.js:187182:14)

Affected repos

the1812/Bilibili-Evolved Raw error text: RepoResults6/the1812.Bilibili-Evolved.rawError.txt in the artifact folder

Last few requests

```json {"seq":13443,"type":"request","command":"completionInfo","arguments":{"file":"@PROJECT_ROOT@/registry/lib/components/video/player/extend-speed/component.ts","line":89,"offset":10,"includeExternalModuleExports":false,"triggerKind":1}} {"seq":13444,"type":"request","command":"completionEntryDetails","arguments":{"file":"@PROJECT_ROOT@/registry/lib/components/video/player/extend-speed/component.ts","line":89,"offset":10,"entryNames":["readonly"]}} {"seq":13445,"type":"request","command":"references","arguments":{"file":"@PROJECT_ROOT@/registry/lib/components/video/player/extend-speed/component.ts","line":114,"offset":21}} {"seq":13446,"type":"request","command":"completionInfo","arguments":{"file":"@PROJECT_ROOT@/registry/lib/components/video/player/extend-speed/component.ts","line":131,"offset":1,"includeExternalModuleExports":false,"triggerKind":1}} ```

Repro steps

  1. git clone https://github.com/the1812/Bilibili-Evolved --recurse-submodules
  2. In dir Bilibili-Evolved, run git reset --hard d0625315bf9896d08381787b8bb102c2d9ed7286
  3. Install packages (exact steps are below, but it might be easier to follow the repo readme)
    1. In dir Bilibili-Evolved/dev-tools/donate-table, run pnpm install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent
    2. In dir Bilibili-Evolved, run pnpm install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent
    3. In dir Bilibili-Evolved/registry, run pnpm install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent
  4. Back in the initial folder, download RepoResults6/the1812.Bilibili-Evolved.replay.txt from the artifact folder
  5. npm install --no-save @typescript/server-replay
  6. npx tsreplay ./Bilibili-Evolved ./the1812.Bilibili-Evolved.replay.txt path/to/tsserver.js
  7. npx tsreplay --help to learn about helpful switches for debugging, logging, etc

typescript-bot commented 1 year ago

TypeError: Cannot read properties of undefined (reading 'sourceFile')

Req #2087 - updateOpen
    at isDocumentRegistryEntry (/typescript-5.3.0-dev.20230924/lib/tsserver.js:135184:18)
    at getDocumentRegistryEntry (/typescript-5.3.0-dev.20230924/lib/tsserver.js:135260:19)
    at Object.releaseDocumentWithKey (/typescript-5.3.0-dev.20230924/lib/tsserver.js:135355:19)
    at Object.onReleaseOldSourceFile (/typescript-5.3.0-dev.20230924/lib/tsserver.js:144243:24)
    at createProgram (/typescript-5.3.0-dev.20230924/lib/tsserver.js:120829:14)
    at synchronizeHostData (/typescript-5.3.0-dev.20230924/lib/tsserver.js:144201:15)
    at Object.getProgram (/typescript-5.3.0-dev.20230924/lib/tsserver.js:144275:5)
    at ConfiguredProject2.updateGraphWorker (/typescript-5.3.0-dev.20230924/lib/tsserver.js:177575:41)
    at ConfiguredProject2.updateGraph (/typescript-5.3.0-dev.20230924/lib/tsserver.js:177426:32)
    at ConfiguredProject2.updateGraph (/typescript-5.3.0-dev.20230924/lib/tsserver.js:178697:24)
    at updateProjectIfDirty (/typescript-5.3.0-dev.20230924/lib/tsserver.js:179153:35)
    at _ProjectService.assignProjectToOpenedScriptInfo (/typescript-5.3.0-dev.20230924/lib/tsserver.js:181506:11)
    at /typescript-5.3.0-dev.20230924/lib/tsserver.js:181783:64
    at flatMap (/typescript-5.3.0-dev.20230924/lib/tsserver.js:2596:17)
    at _ProjectService.applyChangesInOpenFiles (/typescript-5.3.0-dev.20230924/lib/tsserver.js:181783:24)
    at updateOpen (/typescript-5.3.0-dev.20230924/lib/tsserver.js:182981:29)
    at /typescript-5.3.0-dev.20230924/lib/tsserver.js:185583:69
    at IOSession.executeWithRequestId (/typescript-5.3.0-dev.20230924/lib/tsserver.js:185575:14)
    at IOSession.executeCommand (/typescript-5.3.0-dev.20230924/lib/tsserver.js:185583:29)
    at IOSession.onMessage (/typescript-5.3.0-dev.20230924/lib/tsserver.js:185625:51)
    at Interface.<anonymous> (/typescript-5.3.0-dev.20230924/lib/tsserver.js:187182:14)

Affected repos

n8n-io/n8n Raw error text: RepoResults2/n8n-io.n8n.rawError.txt in the artifact folder

Last few requests

```json {"seq":2084,"type":"request","command":"completionEntryDetails","arguments":{"file":"@PROJECT_ROOT@/packages/cli/src/services/orchestration/handleCommandMessage.ts","line":4,"offset":26,"entryNames":["AbstractServer"]}} {"seq":2085,"type":"request","command":"definitionAndBoundSpan","arguments":{"file":"@PROJECT_ROOT@/packages/cli/src/services/orchestration/handleCommandMessage.ts","line":8,"offset":17}} {"seq":2086,"type":"request","command":"updateOpen","arguments":{"changedFiles":[],"closedFiles":["@PROJECT_ROOT@/packages/cli/src/PublicApi/v1/shared/services/pagination.service.ts"],"openFiles":[]}} {"seq":2087,"type":"request","command":"updateOpen","arguments":{"changedFiles":[],"closedFiles":[],"openFiles":[{"file":"@PROJECT_ROOT@/packages/cli/src/services/redis.service.ts","projectRootPath":"@PROJECT_ROOT@"}]}} ```

Repro steps

  1. git clone https://github.com/n8n-io/n8n --recurse-submodules
  2. In dir n8n, run git reset --hard 6d6e2488c6831b8192b264185ca336c013f0f2fd
  3. In dir n8n, run pnpm install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent
  4. Back in the initial folder, download RepoResults2/n8n-io.n8n.replay.txt from the artifact folder
  5. npm install --no-save @typescript/server-replay
  6. npx tsreplay ./n8n ./n8n-io.n8n.replay.txt path/to/tsserver.js
  7. npx tsreplay --help to learn about helpful switches for debugging, logging, etc
typescript-bot commented 1 year ago

Error: Debug Failure. False expression.

Req #12813 - completionInfo
    at consumeTokenAndAdvanceScanner (/typescript-5.3.0-dev.20230924/lib/tsserver.js:171674:13)
    at processChildNode (/typescript-5.3.0-dev.20230924/lib/tsserver.js:171583:9)
    at /typescript-5.3.0-dev.20230924/lib/tsserver.js:171522:9
    at visitNode2 (/typescript-5.3.0-dev.20230924/lib/tsserver.js:30109:18)
    at forEachChildInPropertySignature (/typescript-5.3.0-dev.20230924/lib/tsserver.js:30165:92)
    at forEachChild (/typescript-5.3.0-dev.20230924/lib/tsserver.js:30626:35)
    at processNode (/typescript-5.3.0-dev.20230924/lib/tsserver.js:171519:5)
    at processChildNode (/typescript-5.3.0-dev.20230924/lib/tsserver.js:171598:7)
    at processChildNodes (/typescript-5.3.0-dev.20230924/lib/tsserver.js:171641:32)
    at /typescript-5.3.0-dev.20230924/lib/tsserver.js:171535:9
    at visitNodes (/typescript-5.3.0-dev.20230924/lib/tsserver.js:30114:14)
    at forEachChildInTypeLiteral (/typescript-5.3.0-dev.20230924/lib/tsserver.js:30224:12)
    at forEachChild (/typescript-5.3.0-dev.20230924/lib/tsserver.js:30626:35)
    at processNode (/typescript-5.3.0-dev.20230924/lib/tsserver.js:171519:5)
    at processChildNode (/typescript-5.3.0-dev.20230924/lib/tsserver.js:171598:7)
    at processChildNodes (/typescript-5.3.0-dev.20230924/lib/tsserver.js:171641:32)
    at /typescript-5.3.0-dev.20230924/lib/tsserver.js:171535:9
    at visitNodes (/typescript-5.3.0-dev.20230924/lib/tsserver.js:30114:14)
    at forEachChildInUnionOrIntersectionType (/typescript-5.3.0-dev.20230924/lib/tsserver.js:30573:10)
    at forEachChild (/typescript-5.3.0-dev.20230924/lib/tsserver.js:30626:35)
    at processNode (/typescript-5.3.0-dev.20230924/lib/tsserver.js:171519:5)
    at processChildNode (/typescript-5.3.0-dev.20230924/lib/tsserver.js:171598:7)
    at /typescript-5.3.0-dev.20230924/lib/tsserver.js:171522:9
    at visitNode2 (/typescript-5.3.0-dev.20230924/lib/tsserver.js:30109:18)
    at forEachChildInParenthesizedTypeOrTypeOperator (/typescript-5.3.0-dev.20230924/lib/tsserver.js:30576:10)
    at forEachChild (/typescript-5.3.0-dev.20230924/lib/tsserver.js:30626:35)
    at processNode (/typescript-5.3.0-dev.20230924/lib/tsserver.js:171519:5)
    at processChildNode (/typescript-5.3.0-dev.20230924/lib/tsserver.js:171598:7)
    at /typescript-5.3.0-dev.20230924/lib/tsserver.js:171522:9
    at visitNode2 (/typescript-5.3.0-dev.20230924/lib/tsserver.js:30109:18)
    at forEachChildInIndexedAccessType (/typescript-5.3.0-dev.20230924/lib/tsserver.js:30249:12)
    at forEachChild (/typescript-5.3.0-dev.20230924/lib/tsserver.js:30626:35)
    at processNode (/typescript-5.3.0-dev.20230924/lib/tsserver.js:171519:5)
    at processChildNode (/typescript-5.3.0-dev.20230924/lib/tsserver.js:171598:7)
    at /typescript-5.3.0-dev.20230924/lib/tsserver.js:171522:9
    at visitNode2 (/typescript-5.3.0-dev.20230924/lib/tsserver.js:30109:18)
    at forEachChildInConditionalType (/typescript-5.3.0-dev.20230924/lib/tsserver.js:30235:90)
    at forEachChild (/typescript-5.3.0-dev.20230924/lib/tsserver.js:30626:35)
    at processNode (/typescript-5.3.0-dev.20230924/lib/tsserver.js:171519:5)
    at processChildNode (/typescript-5.3.0-dev.20230924/lib/tsserver.js:171598:7)
    at /typescript-5.3.0-dev.20230924/lib/tsserver.js:171522:9
    at visitNode2 (/typescript-5.3.0-dev.20230924/lib/tsserver.js:30109:18)
    at forEachChildInTypeParameter (/typescript-5.3.0-dev.20230924/lib/tsserver.js:30150:131)
    at forEachChild (/typescript-5.3.0-dev.20230924/lib/tsserver.js:30626:35)
    at processNode (/typescript-5.3.0-dev.20230924/lib/tsserver.js:171519:5)
    at processChildNode (/typescript-5.3.0-dev.20230924/lib/tsserver.js:171598:7)
    at processChildNodes (/typescript-5.3.0-dev.20230924/lib/tsserver.js:171641:32)
    at /typescript-5.3.0-dev.20230924/lib/tsserver.js:171535:9
    at visitNodes (/typescript-5.3.0-dev.20230924/lib/tsserver.js:30114:14)
    at forEachChildInMethodDeclaration (/typescript-5.3.0-dev.20230924/lib/tsserver.js:30188:221)
    at forEachChild (/typescript-5.3.0-dev.20230924/lib/tsserver.js:30626:35)
    at processNode (/typescript-5.3.0-dev.20230924/lib/tsserver.js:171519:5)
    at formatSpanWorker (/typescript-5.3.0-dev.20230924/lib/tsserver.js:171321:5)
    at /typescript-5.3.0-dev.20230924/lib/tsserver.js:171261:105
    at getFormattingScanner (/typescript-5.3.0-dev.20230924/lib/tsserver.js:170064:15)
    at Object.formatNodeGivenIndentation (/typescript-5.3.0-dev.20230924/lib/tsserver.js:171261:10)
    at /typescript-5.3.0-dev.20230924/lib/tsserver.js:158672:36
    at flatMap (/typescript-5.3.0-dev.20230924/lib/tsserver.js:2596:17)
    at Object.printAndFormatSnippetList (/typescript-5.3.0-dev.20230924/lib/tsserver.js:158670:21)
    at getEntryForMemberCompletion (/typescript-5.3.0-dev.20230924/lib/tsserver.js:158433:28)
    at createCompletionEntry (/typescript-5.3.0-dev.20230924/lib/tsserver.js:158257:35)
    at getCompletionEntriesFromSymbols (/typescript-5.3.0-dev.20230924/lib/tsserver.js:158841:19)
    at completionInfoFromData (/typescript-5.3.0-dev.20230924/lib/tsserver.js:157913:23)
    at Object.getCompletionsAtPosition (/typescript-5.3.0-dev.20230924/lib/tsserver.js:157455:24)
    at Object.getCompletionsAtPosition2 [as getCompletionsAtPosition] (/typescript-5.3.0-dev.20230924/lib/tsserver.js:144373:35)
    at IOSession.getCompletions (/typescript-5.3.0-dev.20230924/lib/tsserver.js:184799:54)
    at completionInfo (/typescript-5.3.0-dev.20230924/lib/tsserver.js:183195:43)
    at /typescript-5.3.0-dev.20230924/lib/tsserver.js:185583:69
    at IOSession.executeWithRequestId (/typescript-5.3.0-dev.20230924/lib/tsserver.js:185575:14)
    at IOSession.executeCommand (/typescript-5.3.0-dev.20230924/lib/tsserver.js:185583:29)
    at IOSession.onMessage (/typescript-5.3.0-dev.20230924/lib/tsserver.js:185625:51)
    at Interface.<anonymous> (/typescript-5.3.0-dev.20230924/lib/tsserver.js:187182:14)

Affected repos

GrapesJS/grapesjs Raw error text: RepoResults6/GrapesJS.grapesjs.rawError.txt in the artifact folder

Last few requests

```json {"seq":12810,"type":"request","command":"completionEntryDetails","arguments":{"file":"@PROJECT_ROOT@/src/undo_manager/index.ts","line":308,"offset":6,"entryNames":["@abstract"]}} {"seq":12811,"type":"request","command":"completionInfo","arguments":{"file":"@PROJECT_ROOT@/src/undo_manager/index.ts","line":318,"offset":16,"includeExternalModuleExports":false,"triggerKind":1}} {"seq":12812,"type":"request","command":"definitionAndBoundSpan","arguments":{"file":"@PROJECT_ROOT@/src/undo_manager/index.ts","line":338,"offset":27}} {"seq":12813,"type":"request","command":"completionInfo","arguments":{"file":"@PROJECT_ROOT@/src/undo_manager/index.ts","line":363,"offset":4,"includeExternalModuleExports":true,"triggerKind":1}} ```

Repro steps

  1. git clone https://github.com/GrapesJS/grapesjs --recurse-submodules
  2. In dir grapesjs, run git reset --hard 9f839c965c463ee8903ca3c9237e51281882c8d1
  3. In dir grapesjs, run yarn install --ignore-engines --ignore-scripts --silent
  4. Back in the initial folder, download RepoResults6/GrapesJS.grapesjs.replay.txt from the artifact folder
  5. npm install --no-save @typescript/server-replay
  6. npx tsreplay ./grapesjs ./GrapesJS.grapesjs.replay.txt path/to/tsserver.js
  7. npx tsreplay --help to learn about helpful switches for debugging, logging, etc
typescript-bot commented 1 year ago

Error: Debug Failure. False expression: Token end is child end

Req #20178 - completionInfo
    at processChildNode (/typescript-5.3.0-dev.20230924/lib/tsserver.js:171591:17)
    at /typescript-5.3.0-dev.20230924/lib/tsserver.js:171522:9
    at visitNode2 (/typescript-5.3.0-dev.20230924/lib/tsserver.js:30109:18)
    at forEachChildInPropertySignature (/typescript-5.3.0-dev.20230924/lib/tsserver.js:30165:59)
    at forEachChild (/typescript-5.3.0-dev.20230924/lib/tsserver.js:30626:35)
    at processNode (/typescript-5.3.0-dev.20230924/lib/tsserver.js:171519:5)
    at processChildNode (/typescript-5.3.0-dev.20230924/lib/tsserver.js:171598:7)
    at processChildNodes (/typescript-5.3.0-dev.20230924/lib/tsserver.js:171641:32)
    at /typescript-5.3.0-dev.20230924/lib/tsserver.js:171535:9
    at visitNodes (/typescript-5.3.0-dev.20230924/lib/tsserver.js:30114:14)
    at forEachChildInTypeLiteral (/typescript-5.3.0-dev.20230924/lib/tsserver.js:30224:12)
    at forEachChild (/typescript-5.3.0-dev.20230924/lib/tsserver.js:30626:35)
    at processNode (/typescript-5.3.0-dev.20230924/lib/tsserver.js:171519:5)
    at processChildNode (/typescript-5.3.0-dev.20230924/lib/tsserver.js:171598:7)
    at processChildNodes (/typescript-5.3.0-dev.20230924/lib/tsserver.js:171641:32)
    at /typescript-5.3.0-dev.20230924/lib/tsserver.js:171535:9
    at visitNodes (/typescript-5.3.0-dev.20230924/lib/tsserver.js:30114:14)
    at forEachChildInUnionOrIntersectionType (/typescript-5.3.0-dev.20230924/lib/tsserver.js:30573:10)
    at forEachChild (/typescript-5.3.0-dev.20230924/lib/tsserver.js:30626:35)
    at processNode (/typescript-5.3.0-dev.20230924/lib/tsserver.js:171519:5)
    at processChildNode (/typescript-5.3.0-dev.20230924/lib/tsserver.js:171598:7)
    at processChildNodes (/typescript-5.3.0-dev.20230924/lib/tsserver.js:171641:32)
    at /typescript-5.3.0-dev.20230924/lib/tsserver.js:171535:9
    at visitNodes (/typescript-5.3.0-dev.20230924/lib/tsserver.js:30114:14)
    at forEachChildInTypeReference (/typescript-5.3.0-dev.20230924/lib/tsserver.js:30215:49)
    at forEachChild (/typescript-5.3.0-dev.20230924/lib/tsserver.js:30626:35)
    at processNode (/typescript-5.3.0-dev.20230924/lib/tsserver.js:171519:5)
    at processChildNode (/typescript-5.3.0-dev.20230924/lib/tsserver.js:171598:7)
    at /typescript-5.3.0-dev.20230924/lib/tsserver.js:171522:9
    at visitNode2 (/typescript-5.3.0-dev.20230924/lib/tsserver.js:30109:18)
    at forEachChildInPropertyDeclaration (/typescript-5.3.0-dev.20230924/lib/tsserver.js:30162:179)
    at forEachChild (/typescript-5.3.0-dev.20230924/lib/tsserver.js:30626:35)
    at processNode (/typescript-5.3.0-dev.20230924/lib/tsserver.js:171519:5)
    at formatSpanWorker (/typescript-5.3.0-dev.20230924/lib/tsserver.js:171321:5)
    at /typescript-5.3.0-dev.20230924/lib/tsserver.js:171261:105
    at getFormattingScanner (/typescript-5.3.0-dev.20230924/lib/tsserver.js:170064:15)
    at Object.formatNodeGivenIndentation (/typescript-5.3.0-dev.20230924/lib/tsserver.js:171261:10)
    at /typescript-5.3.0-dev.20230924/lib/tsserver.js:158672:36
    at flatMap (/typescript-5.3.0-dev.20230924/lib/tsserver.js:2596:17)
    at Object.printAndFormatSnippetList (/typescript-5.3.0-dev.20230924/lib/tsserver.js:158670:21)
    at getEntryForMemberCompletion (/typescript-5.3.0-dev.20230924/lib/tsserver.js:158433:28)
    at createCompletionEntry (/typescript-5.3.0-dev.20230924/lib/tsserver.js:158257:35)
    at getCompletionEntriesFromSymbols (/typescript-5.3.0-dev.20230924/lib/tsserver.js:158841:19)
    at completionInfoFromData (/typescript-5.3.0-dev.20230924/lib/tsserver.js:157913:23)
    at Object.getCompletionsAtPosition (/typescript-5.3.0-dev.20230924/lib/tsserver.js:157455:24)
    at Object.getCompletionsAtPosition2 [as getCompletionsAtPosition] (/typescript-5.3.0-dev.20230924/lib/tsserver.js:144373:35)
    at IOSession.getCompletions (/typescript-5.3.0-dev.20230924/lib/tsserver.js:184799:54)
    at completionInfo (/typescript-5.3.0-dev.20230924/lib/tsserver.js:183195:43)
    at /typescript-5.3.0-dev.20230924/lib/tsserver.js:185583:69
    at IOSession.executeWithRequestId (/typescript-5.3.0-dev.20230924/lib/tsserver.js:185575:14)
    at IOSession.executeCommand (/typescript-5.3.0-dev.20230924/lib/tsserver.js:185583:29)
    at IOSession.onMessage (/typescript-5.3.0-dev.20230924/lib/tsserver.js:185625:51)
    at Interface.<anonymous> (/typescript-5.3.0-dev.20230924/lib/tsserver.js:187182:14)

Affected repos

apache/echarts Raw error text: RepoResults1/apache.echarts.rawError.txt in the artifact folder

Last few requests

```json {"seq":20175,"type":"request","command":"completionInfo","arguments":{"file":"@PROJECT_ROOT@/src/chart/candlestick/CandlestickView.ts","line":103,"offset":26,"includeExternalModuleExports":false,"triggerKind":2,"triggerCharacter":" "}} {"seq":20176,"type":"request","command":"definitionAndBoundSpan","arguments":{"file":"@PROJECT_ROOT@/src/chart/candlestick/CandlestickView.ts","line":280,"offset":77}} {"seq":20177,"type":"request","command":"completionInfo","arguments":{"file":"@PROJECT_ROOT@/src/chart/candlestick/CandlestickView.ts","line":302,"offset":30,"includeExternalModuleExports":false,"triggerKind":2,"triggerCharacter":"."}} {"seq":20178,"type":"request","command":"completionInfo","arguments":{"file":"@PROJECT_ROOT@/src/chart/candlestick/CandlestickView.ts","line":327,"offset":6,"includeExternalModuleExports":false,"triggerKind":1}} ```

Repro steps

  1. git clone https://github.com/apache/echarts --recurse-submodules
  2. In dir echarts, run git reset --hard 93d542cb4dc38f983552e61aff10504abc895ec1
  3. Install packages (exact steps are below, but it might be easier to follow the repo readme)
    1. In dir echarts, run npm ci --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q
    2. In dir echarts/test/runTest, run npm ci --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q
  4. Back in the initial folder, download RepoResults1/apache.echarts.replay.txt from the artifact folder
  5. npm install --no-save @typescript/server-replay
  6. npx tsreplay ./echarts ./apache.echarts.replay.txt path/to/tsserver.js
  7. npx tsreplay --help to learn about helpful switches for debugging, logging, etc