microsoft / TypeScript

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

[ServerErrors][JavaScript] 5.4.0-dev.20240211 #57377

Closed typescript-bot closed 7 months ago

typescript-bot commented 7 months ago

The following errors were reported by 5.4.0-dev.20240211 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 196 of 200 visited repos | Outcome | Count | |---------|-------| | Detected interesting changes | 4 | | Detected no interesting changes | 192 | | Unknown failure | 4 |

Investigation Status

Repo Errors Outcome
05dc022b77792efd84491358bf4bf0af 1
3dd26e5cb0be00b53465715cadad4e96 1
bfb09fd8eb0602c152a285c39471954b 1
f0cf37d5bdb684145bdc416ad5753804 1
typescript-bot commented 7 months ago

Server exited prematurely with code unknown and signal SIGABRT

Server exited prematurely with code unknown and signal SIGABRT

Affected repos

tastejs/todomvc Raw error text: RepoResults5/tastejs.todomvc.rawError.txt in the artifact folder

Last few requests

```json {"seq":4575,"type":"request","command":"completionInfo","arguments":{"file":"@PROJECT_ROOT@/examples/angular-dart/web/main.dart.js","line":17386,"offset":1,"includeExternalModuleExports":false,"triggerKind":1}} {"seq":4576,"type":"request","command":"completionEntryDetails","arguments":{"file":"@PROJECT_ROOT@/examples/angular-dart/web/main.dart.js","line":17386,"offset":1,"entryNames":["$"]}} {"seq":4577,"type":"request","command":"completionInfo","arguments":{"file":"@PROJECT_ROOT@/examples/angular-dart/web/main.dart.js","line":17405,"offset":28,"includeExternalModuleExports":false,"triggerKind":2,"triggerCharacter":"."}} {"seq":4578,"type":"request","command":"completionInfo","arguments":{"file":"@PROJECT_ROOT@/examples/angular-dart/web/main.dart.js","line":17428,"offset":68,"includeExternalModuleExports":false,"triggerKind":1}} ```

Repro steps

  1. git clone https://github.com/tastejs/todomvc --recurse-submodules
  2. In dir todomvc, run git reset --hard b6026bba029f47947a9e76f1235bd3d7e3f99a1b
  3. Install packages (exact steps are below, but it might be easier to follow the repo readme)
    1. In dir todomvc/bower_components/bootstrap, run npm install --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q
    2. In dir todomvc/bower_components/webcomponentsjs, run npm install --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q
    3. In dir todomvc/examples/angular-dart, run npm install --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q
    4. In dir todomvc/examples/angular, run npm ci --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q
    5. In dir todomvc/examples/angularjs_require, run npm install --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q
    6. In dir todomvc/examples/angularjs_require/test, run npm install --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q
    7. In dir todomvc/examples/aurelia, run npm ci --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q
    8. In dir todomvc/examples/backbone_marionette, run npm install --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q
    9. In dir todomvc/examples/backbone_require, run npm install --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q
    10. In dir todomvc/examples/backbone, run npm ci --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q
    11. In dir todomvc/examples/binding-scala, run npm install --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q
    12. In dir todomvc/examples/canjs_require, run npm install --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q
    13. In dir todomvc/examples/canjs, run npm install --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q
    14. In dir todomvc/examples/closure, run npm install --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q
    15. In dir todomvc/examples/cujo, run npm install --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q
    16. In dir todomvc/examples/dijon, run npm install --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q
    17. In dir todomvc/examples/dojo, run npm install --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q
    18. In dir todomvc/examples/duel, run npm install --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q
    19. In dir todomvc/examples/elm, run npm install --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q
    20. In dir todomvc/examples/emberjs/todomvc, run pnpm install --no-frozen-lockfile --prefer-offline --ignore-scripts --reporter=silent
    21. In dir todomvc/examples/enyo_backbone, run npm install --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q
    22. In dir todomvc/examples/exoskeleton, run npm install --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q
    23. In dir todomvc/examples/gwt, run npm install --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q
    24. In dir todomvc/examples/javascript-es5, run npm ci --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q
    25. In dir todomvc/examples/javascript-es6, run npm ci --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q
    26. In dir todomvc/examples/jquery, run npm ci --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q
    27. In dir todomvc/examples/js_of_ocaml, run npm install --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q
    28. In dir todomvc/examples/jsblocks, run npm install --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q
    29. In dir todomvc/examples/knockback, run npm install --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q
    30. In dir todomvc/examples/knockoutjs_require, run npm install --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q
    31. In dir todomvc/examples/knockoutjs, run npm install --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q
    32. In dir todomvc/examples/lavaca_require, run npm install --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q
    33. In dir todomvc/examples/lit, run npm ci --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q
    34. In dir todomvc/examples/mithril, run npm install --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q
    35. In dir todomvc/examples/polymer, run npm install --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q
    36. In dir todomvc/examples/preact, run npm ci --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q
    37. In dir todomvc/examples/ractive, run npm install --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q
    38. In dir todomvc/examples/react-redux, run npm ci --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q
    39. In dir todomvc/examples/react, run npm ci --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q
    40. In dir todomvc/examples/reagent, run npm install --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q
    41. In dir todomvc/examples/riotjs, run npm install --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q
    42. In dir todomvc/examples/svelte, run npm ci --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q
    43. In dir todomvc/examples/typescript-angular, run npm install --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q
    44. In dir todomvc/examples/typescript-backbone, run npm install --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q
    45. In dir todomvc/examples/typescript-react, run npm install --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q
    46. In dir todomvc/examples/vue, run npm ci --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q
    47. In dir todomvc/examples/web-components, run npm ci --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q
    48. In dir todomvc, run npm ci --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q
    49. In dir todomvc/tasks, run npm install --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q
    50. In dir todomvc/tests, run npm install --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q
    51. In dir todomvc/tooling, run npm install --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q
  4. Back in the initial folder, download RepoResults5/tastejs.todomvc.replay.txt from the artifact folder
  5. npm install --no-save @typescript/server-replay
  6. npx tsreplay ./todomvc ./tastejs.todomvc.replay.txt path/to/tsserver.js
  7. npx tsreplay --help to learn about helpful switches for debugging, logging, etc

typescript-bot commented 7 months ago

Error: Debug Failure. Expected 7 < 5.

Req #244 - completionInfo
    at getArgumentOrParameterListInfo (/typescript-5.4.0-dev.20240211/lib/tsserver.js:169093:11)
    at getImmediatelyContainingArgumentInfo (/typescript-5.4.0-dev.20240211/lib/tsserver.js:169110:18)
    at Object.getArgumentInfoForCompletions (/typescript-5.4.0-dev.20240211/lib/tsserver.js:169078:16)
    at getContextualType (/typescript-5.4.0-dev.20240211/lib/tsserver.js:160717:48)
    at getCompletionData (/typescript-5.4.0-dev.20240211/lib/tsserver.js:160954:43)
    at Object.getCompletionsAtPosition (/typescript-5.4.0-dev.20240211/lib/tsserver.js:158928:26)
    at Object.getCompletionsAtPosition2 [as getCompletionsAtPosition] (/typescript-5.4.0-dev.20240211/lib/tsserver.js:146523:35)
    at IOSession.getCompletions (/typescript-5.4.0-dev.20240211/lib/tsserver.js:186747:54)
    at completionInfo (/typescript-5.4.0-dev.20240211/lib/tsserver.js:185137:43)
    at /typescript-5.4.0-dev.20240211/lib/tsserver.js:187531:69
    at IOSession.executeWithRequestId (/typescript-5.4.0-dev.20240211/lib/tsserver.js:187523:14)
    at IOSession.executeCommand (/typescript-5.4.0-dev.20240211/lib/tsserver.js:187531:29)
    at IOSession.onMessage (/typescript-5.4.0-dev.20240211/lib/tsserver.js:187573:51)
    at Interface.<anonymous> (/typescript-5.4.0-dev.20240211/lib/tsserver.js:189158:14)

Affected repos

postcss/autoprefixer Raw error text: RepoResults8/postcss.autoprefixer.rawError.txt in the artifact folder

Last few requests

```json {"seq":241,"type":"request","command":"completionInfo","arguments":{"file":"@PROJECT_ROOT@/lib/hacks/gradient.js","line":43,"offset":5,"includeExternalModuleExports":false,"triggerKind":1}} {"seq":242,"type":"request","command":"completionEntryDetails","arguments":{"file":"@PROJECT_ROOT@/lib/hacks/gradient.js","line":43,"offset":5,"entryNames":["arguments"]}} {"seq":243,"type":"request","command":"definitionAndBoundSpan","arguments":{"file":"@PROJECT_ROOT@/lib/hacks/gradient.js","line":151,"offset":37}} {"seq":244,"type":"request","command":"completionInfo","arguments":{"file":"@PROJECT_ROOT@/lib/hacks/gradient.js","line":160,"offset":41,"includeExternalModuleExports":false,"triggerKind":1}} ```

Repro steps

  1. git clone https://github.com/postcss/autoprefixer --recurse-submodules
  2. In dir autoprefixer, run git reset --hard 46cd2cccabab8f829c6bde17eb47a856ebda9e84
  3. Back in the initial folder, download RepoResults8/postcss.autoprefixer.replay.txt from the artifact folder
  4. npm install --no-save @typescript/server-replay
  5. npx tsreplay ./autoprefixer ./postcss.autoprefixer.replay.txt path/to/tsserver.js
  6. npx tsreplay --help to learn about helpful switches for debugging, logging, etc
typescript-bot commented 7 months ago

Error: Debug Failure. False expression.

Req #2108 - completionInfo
    at consumeTokenAndAdvanceScanner (/typescript-5.4.0-dev.20240211/lib/tsserver.js:173475:13)
    at processChildNode (/typescript-5.4.0-dev.20240211/lib/tsserver.js:173384:9)
    at /typescript-5.4.0-dev.20240211/lib/tsserver.js:173323:9
    at visitNode2 (/typescript-5.4.0-dev.20240211/lib/tsserver.js:30459:18)
    at forEachChildInPropertySignature (/typescript-5.4.0-dev.20240211/lib/tsserver.js:30515:92)
    at forEachChild (/typescript-5.4.0-dev.20240211/lib/tsserver.js:30976:35)
    at processNode (/typescript-5.4.0-dev.20240211/lib/tsserver.js:173320:5)
    at processChildNode (/typescript-5.4.0-dev.20240211/lib/tsserver.js:173399:7)
    at processChildNodes (/typescript-5.4.0-dev.20240211/lib/tsserver.js:173442:32)
    at /typescript-5.4.0-dev.20240211/lib/tsserver.js:173336:9
    at visitNodes (/typescript-5.4.0-dev.20240211/lib/tsserver.js:30464:14)
    at forEachChildInTypeLiteral (/typescript-5.4.0-dev.20240211/lib/tsserver.js:30574:12)
    at forEachChild (/typescript-5.4.0-dev.20240211/lib/tsserver.js:30976:35)
    at processNode (/typescript-5.4.0-dev.20240211/lib/tsserver.js:173320:5)
    at processChildNode (/typescript-5.4.0-dev.20240211/lib/tsserver.js:173399:7)
    at processChildNodes (/typescript-5.4.0-dev.20240211/lib/tsserver.js:173442:32)
    at /typescript-5.4.0-dev.20240211/lib/tsserver.js:173336:9
    at visitNodes (/typescript-5.4.0-dev.20240211/lib/tsserver.js:30464:14)
    at forEachChildInUnionOrIntersectionType (/typescript-5.4.0-dev.20240211/lib/tsserver.js:30923:10)
    at forEachChild (/typescript-5.4.0-dev.20240211/lib/tsserver.js:30976:35)
    at processNode (/typescript-5.4.0-dev.20240211/lib/tsserver.js:173320:5)
    at processChildNode (/typescript-5.4.0-dev.20240211/lib/tsserver.js:173399:7)
    at processChildNodes (/typescript-5.4.0-dev.20240211/lib/tsserver.js:173442:32)
    at /typescript-5.4.0-dev.20240211/lib/tsserver.js:173336:9
    at visitNodes (/typescript-5.4.0-dev.20240211/lib/tsserver.js:30464:14)
    at forEachChildInTypeReference (/typescript-5.4.0-dev.20240211/lib/tsserver.js:30565:49)
    at forEachChild (/typescript-5.4.0-dev.20240211/lib/tsserver.js:30976:35)
    at processNode (/typescript-5.4.0-dev.20240211/lib/tsserver.js:173320:5)
    at processChildNode (/typescript-5.4.0-dev.20240211/lib/tsserver.js:173399:7)
    at processChildNodes (/typescript-5.4.0-dev.20240211/lib/tsserver.js:173442:32)
    at /typescript-5.4.0-dev.20240211/lib/tsserver.js:173336:9
    at visitNodes (/typescript-5.4.0-dev.20240211/lib/tsserver.js:30464:14)
    at forEachChildInUnionOrIntersectionType (/typescript-5.4.0-dev.20240211/lib/tsserver.js:30923:10)
    at forEachChild (/typescript-5.4.0-dev.20240211/lib/tsserver.js:30976:35)
    at processNode (/typescript-5.4.0-dev.20240211/lib/tsserver.js:173320:5)
    at processChildNode (/typescript-5.4.0-dev.20240211/lib/tsserver.js:173399:7)
    at /typescript-5.4.0-dev.20240211/lib/tsserver.js:173323:9
    at visitNode2 (/typescript-5.4.0-dev.20240211/lib/tsserver.js:30459:18)
    at forEachChildInPropertySignature (/typescript-5.4.0-dev.20240211/lib/tsserver.js:30515:134)
    at forEachChild (/typescript-5.4.0-dev.20240211/lib/tsserver.js:30976:35)
    at processNode (/typescript-5.4.0-dev.20240211/lib/tsserver.js:173320:5)
    at processChildNode (/typescript-5.4.0-dev.20240211/lib/tsserver.js:173399:7)
    at processChildNodes (/typescript-5.4.0-dev.20240211/lib/tsserver.js:173442:32)
    at /typescript-5.4.0-dev.20240211/lib/tsserver.js:173336:9
    at visitNodes (/typescript-5.4.0-dev.20240211/lib/tsserver.js:30464:14)
    at forEachChildInTypeLiteral (/typescript-5.4.0-dev.20240211/lib/tsserver.js:30574:12)
    at forEachChild (/typescript-5.4.0-dev.20240211/lib/tsserver.js:30976:35)
    at processNode (/typescript-5.4.0-dev.20240211/lib/tsserver.js:173320:5)
    at processChildNode (/typescript-5.4.0-dev.20240211/lib/tsserver.js:173399:7)
    at /typescript-5.4.0-dev.20240211/lib/tsserver.js:173323:9
    at visitNode2 (/typescript-5.4.0-dev.20240211/lib/tsserver.js:30459:18)
    at forEachChildInParameter (/typescript-5.4.0-dev.20240211/lib/tsserver.js:30509:177)
    at forEachChild (/typescript-5.4.0-dev.20240211/lib/tsserver.js:30976:35)
    at processNode (/typescript-5.4.0-dev.20240211/lib/tsserver.js:173320:5)
    at processChildNode (/typescript-5.4.0-dev.20240211/lib/tsserver.js:173399:7)
    at processChildNodes (/typescript-5.4.0-dev.20240211/lib/tsserver.js:173442:32)
    at /typescript-5.4.0-dev.20240211/lib/tsserver.js:173336:9
    at visitNodes (/typescript-5.4.0-dev.20240211/lib/tsserver.js:30464:14)
    at forEachChildInMethodDeclaration (/typescript-5.4.0-dev.20240211/lib/tsserver.js:30538:273)
    at forEachChild (/typescript-5.4.0-dev.20240211/lib/tsserver.js:30976:35)
    at processNode (/typescript-5.4.0-dev.20240211/lib/tsserver.js:173320:5)
    at formatSpanWorker (/typescript-5.4.0-dev.20240211/lib/tsserver.js:173122:5)
    at /typescript-5.4.0-dev.20240211/lib/tsserver.js:173062:105
    at getFormattingScanner (/typescript-5.4.0-dev.20240211/lib/tsserver.js:171865:15)
    at Object.formatNodeGivenIndentation (/typescript-5.4.0-dev.20240211/lib/tsserver.js:173062:10)
    at /typescript-5.4.0-dev.20240211/lib/tsserver.js:160163:36
    at flatMap (/typescript-5.4.0-dev.20240211/lib/tsserver.js:2609:17)
    at Object.printAndFormatSnippetList (/typescript-5.4.0-dev.20240211/lib/tsserver.js:160161:21)
    at getEntryForMemberCompletion (/typescript-5.4.0-dev.20240211/lib/tsserver.js:159924:28)
    at createCompletionEntry (/typescript-5.4.0-dev.20240211/lib/tsserver.js:159748:35)
    at getCompletionEntriesFromSymbols (/typescript-5.4.0-dev.20240211/lib/tsserver.js:160335:19)
    at completionInfoFromData (/typescript-5.4.0-dev.20240211/lib/tsserver.js:159404:23)
    at Object.getCompletionsAtPosition (/typescript-5.4.0-dev.20240211/lib/tsserver.js:158946:24)
    at Object.getCompletionsAtPosition2 [as getCompletionsAtPosition] (/typescript-5.4.0-dev.20240211/lib/tsserver.js:146523:35)
    at IOSession.getCompletions (/typescript-5.4.0-dev.20240211/lib/tsserver.js:186747:54)
    at completionInfo (/typescript-5.4.0-dev.20240211/lib/tsserver.js:185137:43)
    at /typescript-5.4.0-dev.20240211/lib/tsserver.js:187531:69
    at IOSession.executeWithRequestId (/typescript-5.4.0-dev.20240211/lib/tsserver.js:187523:14)
    at IOSession.executeCommand (/typescript-5.4.0-dev.20240211/lib/tsserver.js:187531:29)
    at IOSession.onMessage (/typescript-5.4.0-dev.20240211/lib/tsserver.js:187573:51)
    at Interface.<anonymous> (/typescript-5.4.0-dev.20240211/lib/tsserver.js:189158:14)

Affected repos

fabricjs/fabric.js Raw error text: RepoResults5/fabricjs.fabric.js.rawError.txt in the artifact folder

Last few requests

```json {"seq":2105,"type":"request","command":"references","arguments":{"file":"@PROJECT_ROOT@/src/canvas/StaticCanvas.ts","line":1378,"offset":6}} {"seq":2106,"type":"request","command":"completionInfo","arguments":{"file":"@PROJECT_ROOT@/src/canvas/StaticCanvas.ts","line":1378,"offset":6,"includeExternalModuleExports":false,"triggerKind":1}} {"seq":2107,"type":"request","command":"completionEntryDetails","arguments":{"file":"@PROJECT_ROOT@/src/canvas/StaticCanvas.ts","line":1378,"offset":6,"entryNames":["@abstract"]}} {"seq":2108,"type":"request","command":"completionInfo","arguments":{"file":"@PROJECT_ROOT@/src/canvas/StaticCanvas.ts","line":1399,"offset":4,"includeExternalModuleExports":false,"triggerKind":1}} ```

Repro steps

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

typescript-bot commented 7 months ago

Error: Debug Failure. Expected declaration to have at least one class-like declaration

Req #3513 - definitionAndBoundSpan
    at getConstructSignatureDefinition (/typescript-5.4.0-dev.20240211/lib/tsserver.js:166443:68)
    at getDefinitionFromSymbol (/typescript-5.4.0-dev.20240211/lib/tsserver.js:166432:10)
    at getDefinitionAtPosition (/typescript-5.4.0-dev.20240211/lib/tsserver.js:166159:20)
    at Object.getDefinitionAndBoundSpan (/typescript-5.4.0-dev.20240211/lib/tsserver.js:166376:23)
    at Object.getDefinitionAndBoundSpan2 [as getDefinitionAndBoundSpan] (/typescript-5.4.0-dev.20240211/lib/tsserver.js:146626:38)
    at IOSession.getDefinitionAndBoundSpan (/typescript-5.4.0-dev.20240211/lib/tsserver.js:185994:73)
    at definitionAndBoundSpan (/typescript-5.4.0-dev.20240211/lib/tsserver.js:184981:43)
    at /typescript-5.4.0-dev.20240211/lib/tsserver.js:187531:69
    at IOSession.executeWithRequestId (/typescript-5.4.0-dev.20240211/lib/tsserver.js:187523:14)
    at IOSession.executeCommand (/typescript-5.4.0-dev.20240211/lib/tsserver.js:187531:29)
    at IOSession.onMessage (/typescript-5.4.0-dev.20240211/lib/tsserver.js:187573:51)
    at Interface.<anonymous> (/typescript-5.4.0-dev.20240211/lib/tsserver.js:189158:14)

Affected repos

lutzroeder/netron Raw error text: RepoResults6/lutzroeder.netron.rawError.txt in the artifact folder

Last few requests

```json {"seq":3510,"type":"request","command":"completionInfo","arguments":{"file":"@PROJECT_ROOT@/source/nnabla-proto.js","line":9111,"offset":37,"includeExternalModuleExports":false,"triggerKind":1}} {"seq":3511,"type":"request","command":"completionEntryDetails","arguments":{"file":"@PROJECT_ROOT@/source/nnabla-proto.js","line":9111,"offset":37,"entryNames":["arguments"]}} {"seq":3512,"type":"request","command":"definitionAndBoundSpan","arguments":{"file":"@PROJECT_ROOT@/source/nnabla-proto.js","line":9157,"offset":27}} {"seq":3513,"type":"request","command":"definitionAndBoundSpan","arguments":{"file":"@PROJECT_ROOT@/source/nnabla-proto.js","line":9176,"offset":36}} ```

Repro steps

  1. git clone https://github.com/lutzroeder/netron --recurse-submodules
  2. In dir netron, run git reset --hard 09c0e6310b9239a8359dfc2b4e239ec55544a6e5
  3. In dir netron, run npm install --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts -q
  4. Back in the initial folder, download RepoResults6/lutzroeder.netron.replay.txt from the artifact folder
  5. npm install --no-save @typescript/server-replay
  6. npx tsreplay ./netron ./lutzroeder.netron.replay.txt path/to/tsserver.js
  7. npx tsreplay --help to learn about helpful switches for debugging, logging, etc