microsoft / TypeScript

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

[ServerErrors][JavaScript] 4.9.0-dev.20220913 #50764

Closed typescript-bot closed 1 year ago

typescript-bot commented 2 years ago

The following errors were reported by 4.9.0-dev.20220913 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 193 of 200 visited repos | Outcome | Count | |---------|-------| | Detected interesting changes | 8 | | Detected no interesting changes | 185 | | Language service disabled in new TS | 1 | | Unknown failure | 6 |

cypress-io/cypress

Repro Steps

  1. git clone https://github.com/cypress-io/cypress
  2. In dir cypress, run git reset --hard fada0be11797d8d10751b4ff39df9defa40c3a66
  3. Download RepoResults3/cypress-io.cypress.replay.txt from the artifact folder
  4. npm install --no-save @typescript/server-replay
  5. npx tsreplay ./cypress ./cypress-io.cypress.replay.txt path/to/tsserver.js
Last few requests ```json {"seq":478,"type":"request","command":"references","arguments":{"file":"@PROJECT_ROOT@/npm/react/cypress/component/advanced/context/Mock-context.cy.jsx","line":2,"offset":24}} {"seq":479,"type":"request","command":"completionInfo","arguments":{"file":"@PROJECT_ROOT@/npm/react/cypress/component/advanced/context/Mock-context.cy.jsx","line":2,"offset":24,"includeExternalModuleExports":false,"includeInsertTextCompletions":true,"triggerKind":1}} {"seq":480,"type":"request","command":"updateOpen","arguments":{"changedFiles":[],"closedFiles":["@PROJECT_ROOT@/npm/eslint-plugin-dev/test/skip-comment.spec.js"],"openFiles":[]}} {"seq":481,"type":"request","command":"updateOpen","arguments":{"changedFiles":[],"closedFiles":[],"openFiles":[{"file":"@PROJECT_ROOT@/npm/react/cypress/component/advanced/forward-ref/forward-ref.jsx","projectRootPath":"@PROJECT_ROOT@"}]}} ```

Error

Req #481 - updateOpen
    at Object.ThrowNoProject (/typescript-4.9.0-dev.20220913/lib/tsserver.js:171388:23)
    at ScriptInfo.getDefaultProject (/typescript-4.9.0-dev.20220913/lib/tsserver.js:172231:46)
    at ProjectService.telemetryOnOpenFile (/typescript-4.9.0-dev.20220913/lib/tsserver.js:177616:42)
    at /typescript-4.9.0-dev.20220913/lib/tsserver.js:177698:76
    at ProjectService.applyChangesInOpenFiles (/typescript-4.9.0-dev.20220913/lib/tsserver.js:177698:37)
    at Session.handlers.ts.Map.ts.getEntries._a.<computed> (/typescript-4.9.0-dev.20220913/lib/tsserver.js:179061:46)
    at /typescript-4.9.0-dev.20220913/lib/tsserver.js:181253:96
    at IOSession.Session.executeWithRequestId (/typescript-4.9.0-dev.20220913/lib/tsserver.js:181244:28)
    at IOSession.Session.executeCommand (/typescript-4.9.0-dev.20220913/lib/tsserver.js:181253:41)
    at IOSession.Session.onMessage (/typescript-4.9.0-dev.20220913/lib/tsserver.js:181281:35)
    at Interface.<anonymous> (/typescript-4.9.0-dev.20220913/lib/tsserver.js:185403:31)
:warning: Note that typescript-4.8.3 also had errors :warning: ``` Req #481 - updateOpen at Object.ThrowNoProject (/typescript-4.8.3/lib/tsserver.js:170301:23) at ScriptInfo.getDefaultProject (/typescript-4.8.3/lib/tsserver.js:171144:46) at ProjectService.telemetryOnOpenFile (/typescript-4.8.3/lib/tsserver.js:176529:42) at /typescript-4.8.3/lib/tsserver.js:176611:76 at ProjectService.applyChangesInOpenFiles (/typescript-4.8.3/lib/tsserver.js:176611:37) at Session.handlers.ts.Map.ts.getEntries._a. (/typescript-4.8.3/lib/tsserver.js:177974:46) at /typescript-4.8.3/lib/tsserver.js:180166:96 at IOSession.Session.executeWithRequestId (/typescript-4.8.3/lib/tsserver.js:180157:28) at IOSession.Session.executeCommand (/typescript-4.8.3/lib/tsserver.js:180166:41) at IOSession.Session.onMessage (/typescript-4.8.3/lib/tsserver.js:180194:35) at Interface. (/typescript-4.8.3/lib/tsserver.js:184330:31) ```

jgraph/drawio

Repro Steps

  1. git clone https://github.com/jgraph/drawio
  2. In dir drawio, run git reset --hard 8f3f95a05b701175b639ba9572dc4e0fb7c46b02
  3. Download RepoResults4/jgraph.drawio.replay.txt from the artifact folder
  4. npm install --no-save @typescript/server-replay
  5. npx tsreplay ./drawio ./jgraph.drawio.replay.txt path/to/tsserver.js
Last few requests ```json {"seq":27482,"type":"request","command":"completionInfo","arguments":{"file":"@PROJECT_ROOT@/src/main/webapp/js/integrate.min.js","line":224,"offset":485,"includeExternalModuleExports":false,"includeInsertTextCompletions":true,"triggerKind":1}} {"seq":27483,"type":"request","command":"completionEntryDetails","arguments":{"file":"@PROJECT_ROOT@/src/main/webapp/js/integrate.min.js","line":224,"offset":485,"entryNames":["__extends"]}} {"seq":27484,"type":"request","command":"definitionAndBoundSpan","arguments":{"file":"@PROJECT_ROOT@/src/main/webapp/js/integrate.min.js","line":226,"offset":432}} {"seq":27485,"type":"request","command":"references","arguments":{"file":"@PROJECT_ROOT@/src/main/webapp/js/integrate.min.js","line":230,"offset":129}} ```

Error

Req #27485 - references
    at formatMessage (/typescript-4.9.0-dev.20220913/lib/tsserver.js:178524:29)
    at IOSession.Session.writeMessage (/typescript-4.9.0-dev.20220913/lib/tsserver.js:179600:31)
    at IOSession.Session.send (/typescript-4.9.0-dev.20220913/lib/tsserver.js:179597:22)
    at IOSession.Session.doOutput (/typescript-4.9.0-dev.20220913/lib/tsserver.js:179650:22)
    at IOSession.Session.onMessage (/typescript-4.9.0-dev.20220913/lib/tsserver.js:181296:30)
    at Interface.<anonymous> (/typescript-4.9.0-dev.20220913/lib/tsserver.js:185403:31)
:warning: Note that typescript-4.8.3 also had errors :warning: ``` Req #27485 - references at formatMessage (/typescript-4.8.3/lib/tsserver.js:177437:29) at IOSession.Session.writeMessage (/typescript-4.8.3/lib/tsserver.js:178513:31) at IOSession.Session.send (/typescript-4.8.3/lib/tsserver.js:178510:22) at IOSession.Session.doOutput (/typescript-4.8.3/lib/tsserver.js:178563:22) at IOSession.Session.onMessage (/typescript-4.8.3/lib/tsserver.js:180209:30) at Interface. (/typescript-4.8.3/lib/tsserver.js:184330:31) ```

Kong/insomnia

Repro Steps

  1. git clone https://github.com/Kong/insomnia
  2. In dir insomnia, run git reset --hard 560bfbe37d509120a68586271e2471459bdd9ec2
  3. Install packages
    1. In dir insomnia, run npm ci --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts
    2. In dir insomnia/plugins/insomnia-plugin-base64, run npm install --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts
    3. In dir insomnia/plugins/insomnia-plugin-cookie-jar, run npm ci --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts
    4. In dir insomnia/plugins/insomnia-plugin-core-themes, run npm install --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts
    5. In dir insomnia/plugins/insomnia-plugin-default-headers, run npm install --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts
    6. In dir insomnia/plugins/insomnia-plugin-file, run npm install --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts
    7. In dir insomnia/plugins/insomnia-plugin-hash, run npm install --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts
    8. In dir insomnia/plugins/insomnia-plugin-jsonpath, run npm ci --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts
    9. In dir insomnia/plugins/insomnia-plugin-kong-declarative-config, run npm ci --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts
    10. In dir insomnia/plugins/insomnia-plugin-kong-kubernetes-config, run npm ci --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts
    11. In dir insomnia/plugins/insomnia-plugin-kong-portal, run npm ci --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts
    12. In dir insomnia/plugins/insomnia-plugin-now, run npm ci --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts
    13. In dir insomnia/plugins/insomnia-plugin-os, run npm ci --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts
    14. In dir insomnia/plugins/insomnia-plugin-prompt, run npm install --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts
    15. In dir insomnia/plugins/insomnia-plugin-request, run npm ci --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts
    16. In dir insomnia/plugins/insomnia-plugin-response, run npm ci --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts
    17. In dir insomnia/plugins/insomnia-plugin-uuid, run npm ci --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts
  4. Download RepoResults6/Kong.insomnia.replay.txt from the artifact folder
  5. npm install --no-save @typescript/server-replay
  6. npx tsreplay ./insomnia ./Kong.insomnia.replay.txt path/to/tsserver.js
Last few requests ```json {"seq":13322,"type":"request","command":"completionInfo","arguments":{"file":"@PROJECT_ROOT@/packages/insomnia/bin/yarn-standalone.js","line":73969,"offset":36322,"includeExternalModuleExports":false,"includeInsertTextCompletions":true,"triggerKind":1}} {"seq":13323,"type":"request","command":"completionInfo","arguments":{"file":"@PROJECT_ROOT@/packages/insomnia/bin/yarn-standalone.js","line":73969,"offset":38120,"includeExternalModuleExports":false,"includeInsertTextCompletions":true,"triggerKind":1}} {"seq":13324,"type":"request","command":"completionEntryDetails","arguments":{"file":"@PROJECT_ROOT@/packages/insomnia/bin/yarn-standalone.js","line":73969,"offset":38120,"entryNames":["__webpack_require__"]}} {"seq":13325,"type":"request","command":"references","arguments":{"file":"@PROJECT_ROOT@/packages/insomnia/bin/yarn-standalone.js","line":73969,"offset":38303}} ```

Error

Req #13325 - references
    at formatMessage (/typescript-4.9.0-dev.20220913/lib/tsserver.js:178524:29)
    at IOSession.Session.writeMessage (/typescript-4.9.0-dev.20220913/lib/tsserver.js:179600:31)
    at IOSession.Session.send (/typescript-4.9.0-dev.20220913/lib/tsserver.js:179597:22)
    at IOSession.Session.doOutput (/typescript-4.9.0-dev.20220913/lib/tsserver.js:179650:22)
    at IOSession.Session.onMessage (/typescript-4.9.0-dev.20220913/lib/tsserver.js:181296:30)
    at Interface.<anonymous> (/typescript-4.9.0-dev.20220913/lib/tsserver.js:185403:31)
:warning: Note that typescript-4.8.3 also had errors :warning: ``` Req #13325 - references at formatMessage (/typescript-4.8.3/lib/tsserver.js:177437:29) at IOSession.Session.writeMessage (/typescript-4.8.3/lib/tsserver.js:178513:31) at IOSession.Session.send (/typescript-4.8.3/lib/tsserver.js:178510:22) at IOSession.Session.doOutput (/typescript-4.8.3/lib/tsserver.js:178563:22) at IOSession.Session.onMessage (/typescript-4.8.3/lib/tsserver.js:180209:30) at Interface. (/typescript-4.8.3/lib/tsserver.js:184330:31) ```

mrdoob/three.js

Repro Steps

  1. git clone https://github.com/mrdoob/three.js
  2. In dir three.js, run git reset --hard ed076f90f0f533cf17fe73ca0db4086b08ba7163
  3. Install packages
    1. In dir three.js, run npm ci --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts
    2. In dir three.js/test, run npm ci --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts
  4. Download RepoResults1/mrdoob.three.js.replay.txt from the artifact folder
  5. npm install --no-save @typescript/server-replay
  6. npx tsreplay ./three.js ./mrdoob.three.js.replay.txt path/to/tsserver.js
Last few requests ```json {"seq":6178,"type":"request","command":"completionEntryDetails","arguments":{"file":"@PROJECT_ROOT@/examples/js/libs/draco/gltf/draco_decoder.js","line":13,"offset":52693,"entryNames":["_"]}} {"seq":6179,"type":"request","command":"completionInfo","arguments":{"file":"@PROJECT_ROOT@/examples/js/libs/draco/gltf/draco_decoder.js","line":13,"offset":55630,"includeExternalModuleExports":false,"includeInsertTextCompletions":true,"triggerKind":1}} {"seq":6180,"type":"request","command":"completionEntryDetails","arguments":{"file":"@PROJECT_ROOT@/examples/js/libs/draco/gltf/draco_decoder.js","line":13,"offset":55630,"entryNames":["_"]}} {"seq":6181,"type":"request","command":"references","arguments":{"file":"@PROJECT_ROOT@/examples/js/libs/draco/gltf/draco_decoder.js","line":13,"offset":57244}} ```

Error

Req #6181 - references
    at formatMessage (/typescript-4.9.0-dev.20220913/lib/tsserver.js:178524:29)
    at IOSession.Session.writeMessage (/typescript-4.9.0-dev.20220913/lib/tsserver.js:179600:31)
    at IOSession.Session.send (/typescript-4.9.0-dev.20220913/lib/tsserver.js:179597:22)
    at IOSession.Session.doOutput (/typescript-4.9.0-dev.20220913/lib/tsserver.js:179650:22)
    at IOSession.Session.onMessage (/typescript-4.9.0-dev.20220913/lib/tsserver.js:181296:30)
    at Interface.<anonymous> (/typescript-4.9.0-dev.20220913/lib/tsserver.js:185403:31)
:warning: Note that typescript-4.8.3 also had errors :warning: ``` Req #6181 - references at formatMessage (/typescript-4.8.3/lib/tsserver.js:177437:29) at IOSession.Session.writeMessage (/typescript-4.8.3/lib/tsserver.js:178513:31) at IOSession.Session.send (/typescript-4.8.3/lib/tsserver.js:178510:22) at IOSession.Session.doOutput (/typescript-4.8.3/lib/tsserver.js:178563:22) at IOSession.Session.onMessage (/typescript-4.8.3/lib/tsserver.js:180209:30) at Interface. (/typescript-4.8.3/lib/tsserver.js:184330:31) ```

prettier/prettier

Repro Steps

  1. git clone https://github.com/prettier/prettier
  2. In dir prettier, run git reset --hard cd3e530c2e51fb8296c0fb7738a9afdd3a3a4410
  3. Download RepoResults2/prettier.prettier.replay.txt from the artifact folder
  4. npm install --no-save @typescript/server-replay
  5. npx tsreplay ./prettier ./prettier.prettier.replay.txt path/to/tsserver.js
Last few requests ```json {"seq":1222,"type":"request","command":"completionEntryDetails","arguments":{"file":"@PROJECT_ROOT@/tests/format/flow-repo/declare_export/ES6_ExportFrom_Source1.js","line":3,"offset":4,"entryNames":["@abstract"]}} {"seq":1223,"type":"request","command":"updateOpen","arguments":{"changedFiles":[],"closedFiles":["@PROJECT_ROOT@/tests/format/flow-repo/declare_class/jsfmt.spec.js"],"openFiles":[]}} {"seq":1224,"type":"request","command":"updateOpen","arguments":{"changedFiles":[],"closedFiles":[],"openFiles":[{"file":"@PROJECT_ROOT@/tests/format/flow-repo/declare_export/ES6_Named2.js","projectRootPath":"@PROJECT_ROOT@"}]}} {"seq":1225,"type":"request","command":"organizeImports","arguments":{"scope":{"type":"file","args":{"file":"@PROJECT_ROOT@/tests/format/flow-repo/declare_export/ES6_Named2.js"}},"skipDestructiveCodeActions":false}} ```

Error

Req #1225 - organizeImports
    at getPos (/typescript-4.9.0-dev.20220913/lib/tsserver.js:151563:22)
    at assignPositionsToNode (/typescript-4.9.0-dev.20220913/lib/tsserver.js:152521:44)
    at visitArrayWorker (/typescript-4.9.0-dev.20220913/lib/tsserver.js:91091:48)
    at Object.visitNodes (/typescript-4.9.0-dev.20220913/lib/tsserver.js:91055:23)
    at assignPositionsToNodeArray (/typescript-4.9.0-dev.20220913/lib/tsserver.js:152526:30)
    at visitEachChildOfExportDeclaration (/typescript-4.9.0-dev.20220913/lib/tsserver.js:91595:66)
    at Object.visitEachChild (/typescript-4.9.0-dev.20220913/lib/tsserver.js:91235:42)
    at assignPositionsToNode (/typescript-4.9.0-dev.20220913/lib/tsserver.js:152518:30)
    at getNonformattedText (/typescript-4.9.0-dev.20220913/lib/tsserver.js:152499:56)
    at getFormattedTextOfNode (/typescript-4.9.0-dev.20220913/lib/tsserver.js:152470:26)
    at format (/typescript-4.9.0-dev.20220913/lib/tsserver.js:152457:52)
    at /typescript-4.9.0-dev.20220913/lib/tsserver.js:152459:78
    at computeNewText (/typescript-4.9.0-dev.20220913/lib/tsserver.js:152459:36)
    at /typescript-4.9.0-dev.20220913/lib/tsserver.js:152424:39
    at Object.mapDefined (/typescript-4.9.0-dev.20220913/lib/tsserver.js:621:30)
    at /typescript-4.9.0-dev.20220913/lib/tsserver.js:152422:42
    at Object.mapDefined (/typescript-4.9.0-dev.20220913/lib/tsserver.js:621:30)
    at Object.getTextChangesFromChanges (/typescript-4.9.0-dev.20220913/lib/tsserver.js:152408:27)
    at ChangeTracker.getChanges (/typescript-4.9.0-dev.20220913/lib/tsserver.js:152347:45)
    at Object.organizeImports (/typescript-4.9.0-dev.20220913/lib/tsserver.js:144311:34)
    at Object.organizeImports (/typescript-4.9.0-dev.20220913/lib/tsserver.js:168727:39)
    at IOSession.Session.organizeImports (/typescript-4.9.0-dev.20220913/lib/tsserver.js:180892:60)
    at Session.handlers.ts.Map.ts.getEntries._a.<computed> (/typescript-4.9.0-dev.20220913/lib/tsserver.js:179347:61)
    at /typescript-4.9.0-dev.20220913/lib/tsserver.js:181253:96
    at IOSession.Session.executeWithRequestId (/typescript-4.9.0-dev.20220913/lib/tsserver.js:181244:28)
    at IOSession.Session.executeCommand (/typescript-4.9.0-dev.20220913/lib/tsserver.js:181253:41)
    at IOSession.Session.onMessage (/typescript-4.9.0-dev.20220913/lib/tsserver.js:181281:35)
    at Interface.<anonymous> (/typescript-4.9.0-dev.20220913/lib/tsserver.js:185403:31)
:warning: Note that typescript-4.8.3 also had errors :warning: ``` Req #1225 - organizeImports at getPos (/typescript-4.8.3/lib/tsserver.js:150536:22) at assignPositionsToNode (/typescript-4.8.3/lib/tsserver.js:151494:44) at visitArrayWorker (/typescript-4.8.3/lib/tsserver.js:90473:48) at Object.visitNodes (/typescript-4.8.3/lib/tsserver.js:90436:23) at assignPositionsToNodeArray (/typescript-4.8.3/lib/tsserver.js:151499:30) at Object.visitEachChild (/typescript-4.8.3/lib/tsserver.js:90985:62) at assignPositionsToNode (/typescript-4.8.3/lib/tsserver.js:151491:30) at getNonformattedText (/typescript-4.8.3/lib/tsserver.js:151472:56) at getFormattedTextOfNode (/typescript-4.8.3/lib/tsserver.js:151443:26) at format (/typescript-4.8.3/lib/tsserver.js:151430:52) at /typescript-4.8.3/lib/tsserver.js:151432:78 at computeNewText (/typescript-4.8.3/lib/tsserver.js:151432:36) at /typescript-4.8.3/lib/tsserver.js:151397:39 at Object.mapDefined (/typescript-4.8.3/lib/tsserver.js:622:30) at /typescript-4.8.3/lib/tsserver.js:151395:42 at Object.mapDefined (/typescript-4.8.3/lib/tsserver.js:622:30) at Object.getTextChangesFromChanges (/typescript-4.8.3/lib/tsserver.js:151381:27) at ChangeTracker.getChanges (/typescript-4.8.3/lib/tsserver.js:151320:45) at Object.organizeImports (/typescript-4.8.3/lib/tsserver.js:143322:34) at Object.organizeImports (/typescript-4.8.3/lib/tsserver.js:167640:39) at IOSession.Session.organizeImports (/typescript-4.8.3/lib/tsserver.js:179805:60) at Session.handlers.ts.Map.ts.getEntries._a. (/typescript-4.8.3/lib/tsserver.js:178260:61) at /typescript-4.8.3/lib/tsserver.js:180166:96 at IOSession.Session.executeWithRequestId (/typescript-4.8.3/lib/tsserver.js:180157:28) at IOSession.Session.executeCommand (/typescript-4.8.3/lib/tsserver.js:180166:41) at IOSession.Session.onMessage (/typescript-4.8.3/lib/tsserver.js:180194:35) at Interface. (/typescript-4.8.3/lib/tsserver.js:184330:31) ```

swagger-api/swagger-ui

Repro Steps

  1. git clone https://github.com/swagger-api/swagger-ui
  2. In dir swagger-ui, run git reset --hard 424d704d1e971cb4b8c952d1b5e302414745f86c
  3. Install packages
    1. In dir swagger-ui, run npm ci --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts
    2. In dir swagger-ui/swagger-ui-dist-package, run npm install --prefer-offline --no-audit --no-progress --legacy-peer-deps --ignore-scripts
  4. Download RepoResults6/swagger-api.swagger-ui.replay.txt from the artifact folder
  5. npm install --no-save @typescript/server-replay
  6. npx tsreplay ./swagger-ui ./swagger-api.swagger-ui.replay.txt path/to/tsserver.js
Last few requests ```json {"seq":4726,"type":"request","command":"completionEntryDetails","arguments":{"file":"@PROJECT_ROOT@/dist/swagger-ui-es-bundle.js","line":2,"offset":971532,"entryNames":["_"]}} {"seq":4727,"type":"request","command":"completionInfo","arguments":{"file":"@PROJECT_ROOT@/dist/swagger-ui-es-bundle.js","line":2,"offset":972709,"includeExternalModuleExports":false,"includeInsertTextCompletions":true,"triggerKind":1}} {"seq":4728,"type":"request","command":"definitionAndBoundSpan","arguments":{"file":"@PROJECT_ROOT@/dist/swagger-ui-es-bundle.js","line":2,"offset":974680}} {"seq":4729,"type":"request","command":"references","arguments":{"file":"@PROJECT_ROOT@/dist/swagger-ui-es-bundle.js","line":2,"offset":975239}} ```

Error

Req #4729 - references
    at formatMessage (/typescript-4.9.0-dev.20220913/lib/tsserver.js:178524:29)
    at IOSession.Session.writeMessage (/typescript-4.9.0-dev.20220913/lib/tsserver.js:179600:31)
    at IOSession.Session.send (/typescript-4.9.0-dev.20220913/lib/tsserver.js:179597:22)
    at IOSession.Session.doOutput (/typescript-4.9.0-dev.20220913/lib/tsserver.js:179650:22)
    at IOSession.Session.onMessage (/typescript-4.9.0-dev.20220913/lib/tsserver.js:181296:30)
    at Interface.<anonymous> (/typescript-4.9.0-dev.20220913/lib/tsserver.js:185403:31)
:warning: Note that typescript-4.8.3 also had errors :warning: ``` Req #4729 - references at formatMessage (/typescript-4.8.3/lib/tsserver.js:177437:29) at IOSession.Session.writeMessage (/typescript-4.8.3/lib/tsserver.js:178513:31) at IOSession.Session.send (/typescript-4.8.3/lib/tsserver.js:178510:22) at IOSession.Session.doOutput (/typescript-4.8.3/lib/tsserver.js:178563:22) at IOSession.Session.onMessage (/typescript-4.8.3/lib/tsserver.js:180209:30) at Interface. (/typescript-4.8.3/lib/tsserver.js:184330:31) ```

TryGhost/Ghost

Repro Steps

  1. git clone https://github.com/TryGhost/Ghost
  2. In dir Ghost, run git reset --hard a7c4991af58e9b1ca1ff99c3878c1b64c869974f
  3. Install packages
    1. In dir Ghost/ghost/adapter-manager, run yarn install --silent --ignore-engines --ignore-scripts
    2. In dir Ghost/ghost/admin/lib/asset-delivery, run yarn install --silent --ignore-engines --ignore-scripts
    3. In dir Ghost/ghost/admin/lib/koenig-editor, run yarn install --silent --ignore-engines --ignore-scripts
    4. In dir Ghost/ghost/admin, run yarn install --silent --ignore-engines --ignore-scripts
    5. In dir Ghost/ghost/api-framework, run yarn install --silent --ignore-engines --ignore-scripts
    6. In dir Ghost/ghost/api-version-compatibility-service, run yarn install --silent --ignore-engines --ignore-scripts
    7. In dir Ghost/ghost/bootstrap-socket, run yarn install --silent --ignore-engines --ignore-scripts
    8. In dir Ghost/ghost/constants, run yarn install --silent --ignore-engines --ignore-scripts
    9. In dir Ghost/ghost/core/content/themes/casper, run yarn install --silent --ignore-engines --ignore-scripts
    10. In dir Ghost/ghost/core, run yarn install --silent --ignore-engines --ignore-scripts
    11. In dir Ghost/ghost/custom-theme-settings-service, run yarn install --silent --ignore-engines --ignore-scripts
    12. In dir Ghost/ghost/domain-events, run yarn install --silent --ignore-engines --ignore-scripts
    13. In dir Ghost/ghost/email-analytics-provider-mailgun, run yarn install --silent --ignore-engines --ignore-scripts
    14. In dir Ghost/ghost/email-analytics-service, run yarn install --silent --ignore-engines --ignore-scripts
    15. In dir Ghost/ghost/email-content-generator, run yarn install --silent --ignore-engines --ignore-scripts
    16. In dir Ghost/ghost/express-dynamic-redirects, run yarn install --silent --ignore-engines --ignore-scripts
    17. In dir Ghost/ghost/extract-api-key, run yarn install --silent --ignore-engines --ignore-scripts
    18. In dir Ghost/ghost/html-to-plaintext, run yarn install --silent --ignore-engines --ignore-scripts
    19. In dir Ghost/ghost/job-manager, run yarn install --silent --ignore-engines --ignore-scripts
    20. In dir Ghost/ghost/link-replacement, run yarn install --silent --ignore-engines --ignore-scripts
    21. In dir Ghost/ghost/magic-link, run yarn install --silent --ignore-engines --ignore-scripts
    22. In dir Ghost/ghost/mailgun-client, run yarn install --silent --ignore-engines --ignore-scripts
    23. In dir Ghost/ghost/member-analytics-service, run yarn install --silent --ignore-engines --ignore-scripts
    24. In dir Ghost/ghost/member-attribution, run yarn install --silent --ignore-engines --ignore-scripts
    25. In dir Ghost/ghost/member-events, run yarn install --silent --ignore-engines --ignore-scripts
    26. In dir Ghost/ghost/members-analytics-ingress, run yarn install --silent --ignore-engines --ignore-scripts
    27. In dir Ghost/ghost/members-api, run yarn install --silent --ignore-engines --ignore-scripts
    28. In dir Ghost/ghost/members-csv, run yarn install --silent --ignore-engines --ignore-scripts
    29. In dir Ghost/ghost/members-events-service, run yarn install --silent --ignore-engines --ignore-scripts
    30. In dir Ghost/ghost/members-importer, run yarn install --silent --ignore-engines --ignore-scripts
    31. In dir Ghost/ghost/members-ssr, run yarn install --silent --ignore-engines --ignore-scripts
    32. In dir Ghost/ghost/minifier, run yarn install --silent --ignore-engines --ignore-scripts
    33. In dir Ghost/ghost/mw-api-version-mismatch, run yarn install --silent --ignore-engines --ignore-scripts
    34. In dir Ghost/ghost/mw-cache-control, run yarn install --silent --ignore-engines --ignore-scripts
    35. In dir Ghost/ghost/mw-error-handler, run yarn install --silent --ignore-engines --ignore-scripts
    36. In dir Ghost/ghost/mw-session-from-token, run yarn install --silent --ignore-engines --ignore-scripts
    37. In dir Ghost/ghost/mw-update-user-last-seen, run yarn install --silent --ignore-engines --ignore-scripts
    38. In dir Ghost/ghost/mw-vhost, run yarn install --silent --ignore-engines --ignore-scripts
    39. In dir Ghost/ghost/oembed-service, run yarn install --silent --ignore-engines --ignore-scripts
    40. In dir Ghost/ghost/offers, run yarn install --silent --ignore-engines --ignore-scripts
    41. In dir Ghost/ghost/package-json, run yarn install --silent --ignore-engines --ignore-scripts
    42. In dir Ghost/ghost/payments, run yarn install --silent --ignore-engines --ignore-scripts
    43. In dir Ghost/ghost/security, run yarn install --silent --ignore-engines --ignore-scripts
    44. In dir Ghost/ghost/session-service, run yarn install --silent --ignore-engines --ignore-scripts
    45. In dir Ghost/ghost/settings-path-manager, run yarn install --silent --ignore-engines --ignore-scripts
    46. In dir Ghost/ghost/staff-service, run yarn install --silent --ignore-engines --ignore-scripts
    47. In dir Ghost/ghost/stripe, run yarn install --silent --ignore-engines --ignore-scripts
    48. In dir Ghost/ghost/update-check-service, run yarn install --silent --ignore-engines --ignore-scripts
    49. In dir Ghost/ghost/verification-trigger, run yarn install --silent --ignore-engines --ignore-scripts
    50. In dir Ghost/ghost/version-notifications-data-service, run yarn install --silent --ignore-engines --ignore-scripts
    51. In dir Ghost, run yarn install --silent --ignore-engines --ignore-scripts
  4. Download RepoResults3/TryGhost.Ghost.replay.txt from the artifact folder
  5. npm install --no-save @typescript/server-replay
  6. npx tsreplay ./Ghost ./TryGhost.Ghost.replay.txt path/to/tsserver.js
Last few requests ```json {"seq":12559,"type":"request","command":"getOutliningSpans","arguments":{"file":"@PROJECT_ROOT@/ghost/core/test/unit/frontend/helpers/content.test.js"}} {"seq":12560,"type":"request","command":"completionInfo","arguments":{"file":"@PROJECT_ROOT@/ghost/core/test/unit/frontend/helpers/content.test.js","line":30,"offset":31,"includeExternalModuleExports":false,"includeInsertTextCompletions":true,"triggerKind":1}} {"seq":12561,"type":"request","command":"completionEntryDetails","arguments":{"file":"@PROJECT_ROOT@/ghost/core/test/unit/frontend/helpers/content.test.js","line":30,"offset":31,"entryNames":["arguments"]}} {"seq":12562,"type":"request","command":"completionInfo","arguments":{"file":"@PROJECT_ROOT@/ghost/core/test/unit/frontend/helpers/content.test.js","line":45,"offset":15,"includeExternalModuleExports":true,"includeInsertTextCompletions":true,"triggerKind":1}} ```

Error

Req #12562 - completionInfo
    at Object.getObjectFlags (/typescript-4.9.0-dev.20220913/lib/tsserver.js:19851:28)
    at isNonDeferredTypeReference (/typescript-4.9.0-dev.20220913/lib/tsserver.js:68251:26)
    at isTypeReferenceWithGenericArguments (/typescript-4.9.0-dev.20220913/lib/tsserver.js:68254:20)
    at getRelationKey (/typescript-4.9.0-dev.20220913/lib/tsserver.js:68303:20)
    at recursiveTypeRelatedTo (/typescript-4.9.0-dev.20220913/lib/tsserver.js:66662:26)
    at isRelatedTo (/typescript-4.9.0-dev.20220913/lib/tsserver.js:66246:25)
    at checkTypeRelatedTo (/typescript-4.9.0-dev.20220913/lib/tsserver.js:65860:26)
    at isTypeRelatedTo (/typescript-4.9.0-dev.20220913/lib/tsserver.js:65800:24)
    at isTypeAssignableTo (/typescript-4.9.0-dev.20220913/lib/tsserver.js:64990:20)
    at isTypeAssignableToKind (/typescript-4.9.0-dev.20220913/lib/tsserver.js:79922:60)
    at allTypesAssignableToKind (/typescript-4.9.0-dev.20220913/lib/tsserver.js:79931:17)
    at getPromisedTypeOfPromise (/typescript-4.9.0-dev.20220913/lib/tsserver.js:82655:17)
    at reportNonexistentProperty (/typescript-4.9.0-dev.20220913/lib/tsserver.js:76244:36)
    at checkPropertyAccessExpressionOrQualifiedName (/typescript-4.9.0-dev.20220913/lib/tsserver.js:76047:25)
    at checkPropertyAccessExpression (/typescript-4.9.0-dev.20220913/lib/tsserver.js:75862:17)
    at checkExpressionWorker (/typescript-4.9.0-dev.20220913/lib/tsserver.js:81299:28)
    at checkExpression (/typescript-4.9.0-dev.20220913/lib/tsserver.js:81214:38)
    at checkExpressionCached (/typescript-4.9.0-dev.20220913/lib/tsserver.js:80878:38)
    at getTargetOfAliasLikeExpression (/typescript-4.9.0-dev.20220913/lib/tsserver.js:51748:13)
    at getTargetOfAccessExpression (/typescript-4.9.0-dev.20220913/lib/tsserver.js:51755:20)
    at getTargetOfAliasDeclaration (/typescript-4.9.0-dev.20220913/lib/tsserver.js:51785:28)
    at getTypeOfAlias (/typescript-4.9.0-dev.20220913/lib/tsserver.js:57875:59)
    at getTypeOfSymbol (/typescript-4.9.0-dev.20220913/lib/tsserver.js:57980:24)
    at getNonMissingTypeOfSymbol (/typescript-4.9.0-dev.20220913/lib/tsserver.js:57985:38)
    at addPropertyToElementList (/typescript-4.9.0-dev.20220913/lib/tsserver.js:54164:31)
    at createTypeNodesFromResolvedType (/typescript-4.9.0-dev.20220913/lib/tsserver.js:54135:25)
    at createTypeNodeFromObjectType (/typescript-4.9.0-dev.20220913/lib/tsserver.js:53949:35)
    at createAnonymousTypeNode (/typescript-4.9.0-dev.20220913/lib/tsserver.js:53819:32)
    at typeToTypeNodeWorker (/typescript-4.9.0-dev.20220913/lib/tsserver.js:53664:28)
    at typeToTypeNodeHelper (/typescript-4.9.0-dev.20220913/lib/tsserver.js:53455:32)
    at /typescript-4.9.0-dev.20220913/lib/tsserver.js:53342:106
    at withContext (/typescript-4.9.0-dev.20220913/lib/tsserver.js:53415:37)
    at Object.typeToTypeNode (/typescript-4.9.0-dev.20220913/lib/tsserver.js:53342:28)
    at typeToString (/typescript-4.9.0-dev.20220913/lib/tsserver.js:53301:40)
    at reportNonexistentProperty (/typescript-4.9.0-dev.20220913/lib/tsserver.js:76251:37)
    at checkPropertyAccessExpressionOrQualifiedName (/typescript-4.9.0-dev.20220913/lib/tsserver.js:76047:25)
    at checkPropertyAccessExpression (/typescript-4.9.0-dev.20220913/lib/tsserver.js:75862:17)
    at checkExpressionWorker (/typescript-4.9.0-dev.20220913/lib/tsserver.js:81299:28)
    at checkExpression (/typescript-4.9.0-dev.20220913/lib/tsserver.js:81214:38)
    at checkExpressionCached (/typescript-4.9.0-dev.20220913/lib/tsserver.js:80878:38)
    at getTargetOfAliasLikeExpression (/typescript-4.9.0-dev.20220913/lib/tsserver.js:51748:13)
    at getTargetOfAccessExpression (/typescript-4.9.0-dev.20220913/lib/tsserver.js:51755:20)
    at getTargetOfAliasDeclaration (/typescript-4.9.0-dev.20220913/lib/tsserver.js:51785:28)
    at getTypeOfAlias (/typescript-4.9.0-dev.20220913/lib/tsserver.js:57875:59)
    at getTypeOfSymbol (/typescript-4.9.0-dev.20220913/lib/tsserver.js:57980:24)
    at getNonMissingTypeOfSymbol (/typescript-4.9.0-dev.20220913/lib/tsserver.js:57985:38)
    at addPropertyToElementList (/typescript-4.9.0-dev.20220913/lib/tsserver.js:54164:31)
    at createTypeNodesFromResolvedType (/typescript-4.9.0-dev.20220913/lib/tsserver.js:54135:25)
    at createTypeNodeFromObjectType (/typescript-4.9.0-dev.20220913/lib/tsserver.js:53949:35)
    at createAnonymousTypeNode (/typescript-4.9.0-dev.20220913/lib/tsserver.js:53819:32)
    at typeToTypeNodeWorker (/typescript-4.9.0-dev.20220913/lib/tsserver.js:53664:28)
    at typeToTypeNodeHelper (/typescript-4.9.0-dev.20220913/lib/tsserver.js:53455:32)
    at /typescript-4.9.0-dev.20220913/lib/tsserver.js:53342:106
    at withContext (/typescript-4.9.0-dev.20220913/lib/tsserver.js:53415:37)
    at Object.typeToTypeNode (/typescript-4.9.0-dev.20220913/lib/tsserver.js:53342:28)
    at typeToString (/typescript-4.9.0-dev.20220913/lib/tsserver.js:53301:40)
    at reportNonexistentProperty (/typescript-4.9.0-dev.20220913/lib/tsserver.js:76251:37)
    at checkPropertyAccessExpressionOrQualifiedName (/typescript-4.9.0-dev.20220913/lib/tsserver.js:76047:25)
    at checkPropertyAccessExpression (/typescript-4.9.0-dev.20220913/lib/tsserver.js:75862:17)
    at checkExpressionWorker (/typescript-4.9.0-dev.20220913/lib/tsserver.js:81299:28)
    at checkExpression (/typescript-4.9.0-dev.20220913/lib/tsserver.js:81214:38)
    at checkExpressionCached (/typescript-4.9.0-dev.20220913/lib/tsserver.js:80878:38)
    at getTargetOfAliasLikeExpression (/typescript-4.9.0-dev.20220913/lib/tsserver.js:51748:13)
    at getTargetOfAccessExpression (/typescript-4.9.0-dev.20220913/lib/tsserver.js:51755:20)
    at getTargetOfAliasDeclaration (/typescript-4.9.0-dev.20220913/lib/tsserver.js:51785:28)
    at getTypeOfAlias (/typescript-4.9.0-dev.20220913/lib/tsserver.js:57875:59)
    at getTypeOfSymbol (/typescript-4.9.0-dev.20220913/lib/tsserver.js:57980:24)
    at getNonMissingTypeOfSymbol (/typescript-4.9.0-dev.20220913/lib/tsserver.js:57985:38)
    at addPropertyToElementList (/typescript-4.9.0-dev.20220913/lib/tsserver.js:54164:31)
    at createTypeNodesFromResolvedType (/typescript-4.9.0-dev.20220913/lib/tsserver.js:54135:25)
    at createTypeNodeFromObjectType (/typescript-4.9.0-dev.20220913/lib/tsserver.js:53949:35)
    at createAnonymousTypeNode (/typescript-4.9.0-dev.20220913/lib/tsserver.js:53819:32)
    at typeToTypeNodeWorker (/typescript-4.9.0-dev.20220913/lib/tsserver.js:53664:28)
    at typeToTypeNodeHelper (/typescript-4.9.0-dev.20220913/lib/tsserver.js:53455:32)
    at /typescript-4.9.0-dev.20220913/lib/tsserver.js:53342:106
    at withContext (/typescript-4.9.0-dev.20220913/lib/tsserver.js:53415:37)
    at Object.typeToTypeNode (/typescript-4.9.0-dev.20220913/lib/tsserver.js:53342:28)
    at typeToString (/typescript-4.9.0-dev.20220913/lib/tsserver.js:53301:40)
    at reportNonexistentProperty (/typescript-4.9.0-dev.20220913/lib/tsserver.js:76251:37)
    at checkPropertyAccessExpressionOrQualifiedName (/typescript-4.9.0-dev.20220913/lib/tsserver.js:76047:25)
    at checkPropertyAccessExpression (/typescript-4.9.0-dev.20220913/lib/tsserver.js:75862:17)
    at checkExpressionWorker (/typescript-4.9.0-dev.20220913/lib/tsserver.js:81299:28)
    at checkExpression (/typescript-4.9.0-dev.20220913/lib/tsserver.js:81214:38)
    at checkExpressionCached (/typescript-4.9.0-dev.20220913/lib/tsserver.js:80878:38)
    at getTargetOfAliasLikeExpression (/typescript-4.9.0-dev.20220913/lib/tsserver.js:51748:13)
    at getTargetOfAccessExpression (/typescript-4.9.0-dev.20220913/lib/tsserver.js:51755:20)
    at getTargetOfAliasDeclaration (/typescript-4.9.0-dev.20220913/lib/tsserver.js:51785:28)
    at getTypeOfAlias (/typescript-4.9.0-dev.20220913/lib/tsserver.js:57875:59)
    at getTypeOfSymbol (/typescript-4.9.0-dev.20220913/lib/tsserver.js:57980:24)
    at getNonMissingTypeOfSymbol (/typescript-4.9.0-dev.20220913/lib/tsserver.js:57985:38)
    at addPropertyToElementList (/typescript-4.9.0-dev.20220913/lib/tsserver.js:54164:31)
    at createTypeNodesFromResolvedType (/typescript-4.9.0-dev.20220913/lib/tsserver.js:54135:25)
    at createTypeNodeFromObjectType (/typescript-4.9.0-dev.20220913/lib/tsserver.js:53949:35)
    at createAnonymousTypeNode (/typescript-4.9.0-dev.20220913/lib/tsserver.js:53819:32)
    at typeToTypeNodeWorker (/typescript-4.9.0-dev.20220913/lib/tsserver.js:53664:28)
    at typeToTypeNodeHelper (/typescript-4.9.0-dev.20220913/lib/tsserver.js:53455:32)
    at /typescript-4.9.0-dev.20220913/lib/tsserver.js:53342:106
    at withContext (/typescript-4.9.0-dev.20220913/lib/tsserver.js:53415:37)
    at Object.typeToTypeNode (/typescript-4.9.0-dev.20220913/lib/tsserver.js:53342:28)
    at typeToString (/typescript-4.9.0-dev.20220913/lib/tsserver.js:53301:40)
:warning: Note that typescript-4.8.3 also had errors :warning: ``` Req #12562 - completionInfo at typeToTypeNodeWorker (/typescript-4.8.3/lib/tsserver.js:52997:42) at typeToTypeNodeHelper (/typescript-4.8.3/lib/tsserver.js:52993:32) at serializeTypeForDeclaration (/typescript-4.8.3/lib/tsserver.js:54548:30) at symbolToParameterDeclaration (/typescript-4.8.3/lib/tsserver.js:53968:41) at /typescript-4.8.3/lib/tsserver.js:53879:274 at signatureToSignatureDeclarationHelper (/typescript-4.8.3/lib/tsserver.js:53879:240) at createTypeNodesFromResolvedType (/typescript-4.8.3/lib/tsserver.js:53640:43) at createTypeNodeFromObjectType (/typescript-4.8.3/lib/tsserver.js:53487:35) at createAnonymousTypeNode (/typescript-4.8.3/lib/tsserver.js:53357:32) at typeToTypeNodeWorker (/typescript-4.8.3/lib/tsserver.js:53202:28) at typeToTypeNodeHelper (/typescript-4.8.3/lib/tsserver.js:52993:32) at /typescript-4.8.3/lib/tsserver.js:52898:106 at withContext (/typescript-4.8.3/lib/tsserver.js:52953:37) at Object.typeToTypeNode (/typescript-4.8.3/lib/tsserver.js:52898:28) at typeToString (/typescript-4.8.3/lib/tsserver.js:52857:40) at reportNonexistentProperty (/typescript-4.8.3/lib/tsserver.js:75711:37) at checkPropertyAccessExpressionOrQualifiedName (/typescript-4.8.3/lib/tsserver.js:75507:25) at checkPropertyAccessExpression (/typescript-4.8.3/lib/tsserver.js:75322:17) at checkExpressionWorker (/typescript-4.8.3/lib/tsserver.js:80751:28) at checkExpression (/typescript-4.8.3/lib/tsserver.js:80666:38) at checkExpressionCached (/typescript-4.8.3/lib/tsserver.js:80330:38) at getTargetOfAliasLikeExpression (/typescript-4.8.3/lib/tsserver.js:51307:13) at getTargetOfAccessExpression (/typescript-4.8.3/lib/tsserver.js:51314:20) at getTargetOfAliasDeclaration (/typescript-4.8.3/lib/tsserver.js:51344:28) at getTypeOfAlias (/typescript-4.8.3/lib/tsserver.js:57397:59) at getTypeOfSymbol (/typescript-4.8.3/lib/tsserver.js:57502:24) at getNonMissingTypeOfSymbol (/typescript-4.8.3/lib/tsserver.js:57507:38) at addPropertyToElementList (/typescript-4.8.3/lib/tsserver.js:53702:31) at createTypeNodesFromResolvedType (/typescript-4.8.3/lib/tsserver.js:53673:25) at createTypeNodeFromObjectType (/typescript-4.8.3/lib/tsserver.js:53487:35) at createAnonymousTypeNode (/typescript-4.8.3/lib/tsserver.js:53357:32) at typeToTypeNodeWorker (/typescript-4.8.3/lib/tsserver.js:53202:28) at typeToTypeNodeHelper (/typescript-4.8.3/lib/tsserver.js:52993:32) at /typescript-4.8.3/lib/tsserver.js:52898:106 at withContext (/typescript-4.8.3/lib/tsserver.js:52953:37) at Object.typeToTypeNode (/typescript-4.8.3/lib/tsserver.js:52898:28) at typeToString (/typescript-4.8.3/lib/tsserver.js:52857:40) at reportNonexistentProperty (/typescript-4.8.3/lib/tsserver.js:75711:37) at checkPropertyAccessExpressionOrQualifiedName (/typescript-4.8.3/lib/tsserver.js:75507:25) at checkPropertyAccessExpression (/typescript-4.8.3/lib/tsserver.js:75322:17) at checkExpressionWorker (/typescript-4.8.3/lib/tsserver.js:80751:28) at checkExpression (/typescript-4.8.3/lib/tsserver.js:80666:38) at checkExpressionCached (/typescript-4.8.3/lib/tsserver.js:80330:38) at getTargetOfAliasLikeExpression (/typescript-4.8.3/lib/tsserver.js:51307:13) at getTargetOfAccessExpression (/typescript-4.8.3/lib/tsserver.js:51314:20) at getTargetOfAliasDeclaration (/typescript-4.8.3/lib/tsserver.js:51344:28) at getTypeOfAlias (/typescript-4.8.3/lib/tsserver.js:57397:59) at getTypeOfSymbol (/typescript-4.8.3/lib/tsserver.js:57502:24) at getNonMissingTypeOfSymbol (/typescript-4.8.3/lib/tsserver.js:57507:38) at addPropertyToElementList (/typescript-4.8.3/lib/tsserver.js:53702:31) at createTypeNodesFromResolvedType (/typescript-4.8.3/lib/tsserver.js:53673:25) at createTypeNodeFromObjectType (/typescript-4.8.3/lib/tsserver.js:53487:35) at createAnonymousTypeNode (/typescript-4.8.3/lib/tsserver.js:53357:32) at typeToTypeNodeWorker (/typescript-4.8.3/lib/tsserver.js:53202:28) at typeToTypeNodeHelper (/typescript-4.8.3/lib/tsserver.js:52993:32) at /typescript-4.8.3/lib/tsserver.js:52898:106 at withContext (/typescript-4.8.3/lib/tsserver.js:52953:37) at Object.typeToTypeNode (/typescript-4.8.3/lib/tsserver.js:52898:28) at typeToString (/typescript-4.8.3/lib/tsserver.js:52857:40) at reportNonexistentProperty (/typescript-4.8.3/lib/tsserver.js:75711:37) at checkPropertyAccessExpressionOrQualifiedName (/typescript-4.8.3/lib/tsserver.js:75507:25) at checkPropertyAccessExpression (/typescript-4.8.3/lib/tsserver.js:75322:17) at checkExpressionWorker (/typescript-4.8.3/lib/tsserver.js:80751:28) at checkExpression (/typescript-4.8.3/lib/tsserver.js:80666:38) at checkExpressionCached (/typescript-4.8.3/lib/tsserver.js:80330:38) at getTargetOfAliasLikeExpression (/typescript-4.8.3/lib/tsserver.js:51307:13) at getTargetOfAccessExpression (/typescript-4.8.3/lib/tsserver.js:51314:20) at getTargetOfAliasDeclaration (/typescript-4.8.3/lib/tsserver.js:51344:28) at getTypeOfAlias (/typescript-4.8.3/lib/tsserver.js:57397:59) at getTypeOfSymbol (/typescript-4.8.3/lib/tsserver.js:57502:24) at getNonMissingTypeOfSymbol (/typescript-4.8.3/lib/tsserver.js:57507:38) at addPropertyToElementList (/typescript-4.8.3/lib/tsserver.js:53702:31) at createTypeNodesFromResolvedType (/typescript-4.8.3/lib/tsserver.js:53673:25) at createTypeNodeFromObjectType (/typescript-4.8.3/lib/tsserver.js:53487:35) at createAnonymousTypeNode (/typescript-4.8.3/lib/tsserver.js:53357:32) at typeToTypeNodeWorker (/typescript-4.8.3/lib/tsserver.js:53202:28) at typeToTypeNodeHelper (/typescript-4.8.3/lib/tsserver.js:52993:32) at /typescript-4.8.3/lib/tsserver.js:52898:106 at withContext (/typescript-4.8.3/lib/tsserver.js:52953:37) at Object.typeToTypeNode (/typescript-4.8.3/lib/tsserver.js:52898:28) at typeToString (/typescript-4.8.3/lib/tsserver.js:52857:40) at reportNonexistentProperty (/typescript-4.8.3/lib/tsserver.js:75711:37) at checkPropertyAccessExpressionOrQualifiedName (/typescript-4.8.3/lib/tsserver.js:75507:25) at checkPropertyAccessExpression (/typescript-4.8.3/lib/tsserver.js:75322:17) at checkExpressionWorker (/typescript-4.8.3/lib/tsserver.js:80751:28) at checkExpression (/typescript-4.8.3/lib/tsserver.js:80666:38) at checkExpressionCached (/typescript-4.8.3/lib/tsserver.js:80330:38) at getTargetOfAliasLikeExpression (/typescript-4.8.3/lib/tsserver.js:51307:13) at getTargetOfAccessExpression (/typescript-4.8.3/lib/tsserver.js:51314:20) at getTargetOfAliasDeclaration (/typescript-4.8.3/lib/tsserver.js:51344:28) at getTypeOfAlias (/typescript-4.8.3/lib/tsserver.js:57397:59) at getTypeOfSymbol (/typescript-4.8.3/lib/tsserver.js:57502:24) at getNonMissingTypeOfSymbol (/typescript-4.8.3/lib/tsserver.js:57507:38) at addPropertyToElementList (/typescript-4.8.3/lib/tsserver.js:53702:31) at createTypeNodesFromResolvedType (/typescript-4.8.3/lib/tsserver.js:53673:25) at createTypeNodeFromObjectType (/typescript-4.8.3/lib/tsserver.js:53487:35) at createAnonymousTypeNode (/typescript-4.8.3/lib/tsserver.js:53357:32) at typeToTypeNodeWorker (/typescript-4.8.3/lib/tsserver.js:53202:28) at typeToTypeNodeHelper (/typescript-4.8.3/lib/tsserver.js:52993:32) ```

YMFE/yapi

Repro Steps

  1. git clone https://github.com/YMFE/yapi
  2. In dir yapi, run git reset --hard ed6771a25a5437562f6a7c277d86a778436a0769
  3. Download RepoResults6/YMFE.yapi.replay.txt from the artifact folder
  4. npm install --no-save @typescript/server-replay
  5. npx tsreplay ./yapi ./YMFE.yapi.replay.txt path/to/tsserver.js
Last few requests ```json {"seq":12152,"type":"request","command":"completionEntryDetails","arguments":{"file":"@PROJECT_ROOT@/common/tui-editor/dist/tui-editor-extColorSyntax.min.js","line":36,"offset":1116693,"entryNames":["a"]}} {"seq":12153,"type":"request","command":"definitionAndBoundSpan","arguments":{"file":"@PROJECT_ROOT@/common/tui-editor/dist/tui-editor-extColorSyntax.min.js","line":36,"offset":1116983}} {"seq":12154,"type":"request","command":"definitionAndBoundSpan","arguments":{"file":"@PROJECT_ROOT@/common/tui-editor/dist/tui-editor-extColorSyntax.min.js","line":36,"offset":1118001}} {"seq":12155,"type":"request","command":"references","arguments":{"file":"@PROJECT_ROOT@/common/tui-editor/dist/tui-editor-extColorSyntax.min.js","line":36,"offset":1118257}} ```

Error

Req #12155 - references
    at formatMessage (/typescript-4.9.0-dev.20220913/lib/tsserver.js:178524:29)
    at IOSession.Session.writeMessage (/typescript-4.9.0-dev.20220913/lib/tsserver.js:179600:31)
    at IOSession.Session.send (/typescript-4.9.0-dev.20220913/lib/tsserver.js:179597:22)
    at IOSession.Session.doOutput (/typescript-4.9.0-dev.20220913/lib/tsserver.js:179650:22)
    at IOSession.Session.onMessage (/typescript-4.9.0-dev.20220913/lib/tsserver.js:181296:30)
    at Interface.<anonymous> (/typescript-4.9.0-dev.20220913/lib/tsserver.js:185403:31)
:warning: Note that typescript-4.8.3 also had errors :warning: ``` Req #12155 - references at formatMessage (/typescript-4.8.3/lib/tsserver.js:177437:29) at IOSession.Session.writeMessage (/typescript-4.8.3/lib/tsserver.js:178513:31) at IOSession.Session.send (/typescript-4.8.3/lib/tsserver.js:178510:22) at IOSession.Session.doOutput (/typescript-4.8.3/lib/tsserver.js:178563:22) at IOSession.Session.onMessage (/typescript-4.8.3/lib/tsserver.js:180209:30) at Interface. (/typescript-4.8.3/lib/tsserver.js:184330:31) ```
amcasey commented 1 year ago

These are all dups.