-
Notifications
You must be signed in to change notification settings - Fork 13.3k
Closed
Labels
BugA bug in TypeScriptA bug in TypeScriptFix AvailableA PR has been opened for this issueA PR has been opened for this issue
Milestone
Description
Present in 4.7.4. and main.
git clone https://github.com/facebook/docusauruscd docusaurusgit reset --hard 9150c7aefc7bd871f449145bee5bc70767d09ecacd ..npm install @typescript/server-replay- Download replay.txt
npx tsreplay ./docusaurus path/to/replay.txt path/to/tsserver.js
replay.txt
{"rootDirPlaceholder":"@PROJECT_ROOT@","serverArgs":["--disableAutomaticTypingAcquisition"]}
{"seq":1,"type":"request","command":"configure","arguments":{"preferences":{"includePackageJsonAutoImports":"off"},"watchOptions":{"excludeDirectories":["**/node_modules"]}}}
{"seq":2,"type":"request","command":"updateOpen","arguments":{"changedFiles":[],"closedFiles":[],"openFiles":[{"file":"@PROJECT_ROOT@/packages/docusaurus-module-type-aliases/src/index.d.ts","projectRootPath":"@PROJECT_ROOT@"}]}}
{"seq":3,"type":"request","command":"updateOpen","arguments":{"changedFiles":[],"closedFiles":["@PROJECT_ROOT@/packages/docusaurus-module-type-aliases/src/index.d.ts"],"openFiles":[]}}
{"seq":4,"type":"request","command":"updateOpen","arguments":{"changedFiles":[],"closedFiles":[],"openFiles":[{"file":"@PROJECT_ROOT@/packages/docusaurus-plugin-client-redirects/src/__tests__/redirectValidation.test.ts","projectRootPath":"@PROJECT_ROOT@"}]}}
{"seq":5,"type":"request","command":"getOutliningSpans","arguments":{"file":"@PROJECT_ROOT@/packages/docusaurus-plugin-client-redirects/src/__tests__/redirectValidation.test.ts"}}Error: No Project.
at Object.ThrowNoProject (typescript/built/local/tsserver.js:167629:23)
at IOSession.Session.getFileAndLanguageServiceForSyntacticOperation (typescript/built/local/tsserver.js:176275:42)
at IOSession.Session.getOutliningSpans (typescript/built/local/tsserver.js:176288:31)
at Session.handlers.ts.Map.ts.getEntries._a.<computed> (typescript/built/local/tsserver.js:175074:61)
at typescript/built/local/tsserver.js:177179:88
at IOSession.Session.executeWithRequestId (typescript/built/local/tsserver.js:177170:28)
at IOSession.Session.executeCommand (typescript/built/local/tsserver.js:177179:33)
at IOSession.Session.onMessage (typescript/built/local/tsserver.js:177205:35)
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
BugA bug in TypeScriptA bug in TypeScriptFix AvailableA PR has been opened for this issueA PR has been opened for this issue