Title: typescript-parser-wrapper fails for tsconfig.json path check on Windows · Issue #163 · github/codeql-cli-binaries · GitHub
Open Graph Title: typescript-parser-wrapper fails for tsconfig.json path check on Windows · Issue #163 · github/codeql-cli-binaries
X Title: typescript-parser-wrapper fails for tsconfig.json path check on Windows · Issue #163 · github/codeql-cli-binaries
Description: When javascript is scanned during finalize typescript-parser-wrapper can throw with tsconfig.json path mismatch. This particular situation was found when more than javascript was detected and was on a Windows agent. D:\a\_work\_temp\code...
Open Graph Description: When javascript is scanned during finalize typescript-parser-wrapper can throw with tsconfig.json path mismatch. This particular situation was found when more than javascript was detected and was o...
X Description: When javascript is scanned during finalize typescript-parser-wrapper can throw with tsconfig.json path mismatch. This particular situation was found when more than javascript was detected and was o...
Opengraph URL: https://github.com/github/codeql-cli-binaries/issues/163
X: @github
Domain: patch-diff.githubusercontent.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"typescript-parser-wrapper fails for tsconfig.json path check on Windows","articleBody":"When javascript is scanned during finalize typescript-parser-wrapper can throw with tsconfig.json path mismatch.\r\nThis particular situation was found when more than javascript was detected and was on a Windows agent.\r\n\r\n```log\r\nD:\\a\\_work\\_temp\\codeql3000\\github\\codeql\\codeql.exe database trace-command --index-traceless-dbs --db-cluster D:\\a\\_work\\_temp\\codeql3000\\d \r\nRunning 2 commands for 3 databases: \r\n- D:\\a\\_work\\_temp\\codeql3000\\d\\cpp \r\n- D:\\a\\_work\\_temp\\codeql3000\\d\\javascript \r\n- D:\\a\\_work\\_temp\\codeql3000\\d\\python \r\nRunning command in D:\\a\\_work\\1\\s: [D:\\a\\_work\\_temp\\codeql3000\\github\\codeql\\javascript\\tools\\autobuild.cmd] \r\n[2023-04-25 22:24:54] [build-stdout] Single-threaded extraction. \r\n[2023-04-25 22:24:54] [build-stdout] packages\\domain\\interop\\package.json: Main file set to packages\\domain\\interop\\src\\index.ts \r\n[2023-04-25 22:24:54] [build-stdout] packages\\domain\\shf_validator\\package.json: Main file not found \r\n[2023-04-25 22:24:54] [build-stdout] Found Node.js at: node \r\n[2023-04-25 22:24:54] [build-stdout] Found Node.js version: v16.15.1 \r\n[2023-04-25 22:24:54] [build-stdout] Opening project D:\\a\\_work\\1\\s\\build\\tsconfig.json \r\n[2023-04-25 22:24:54] [build-stdout] Memory for TypeScript process: 2000 MB, and 400 MB reserve \r\n[2023-04-25 22:24:54] [build-stderr] D:\\a\\_work\\_temp\\codeql3000\\github\\codeql\\javascript\\tools\\typescript-parser-wrapper\\node_modules\\typescript\\lib\\typescript.js:2572 \r\n[2023-04-25 22:24:54] [build-stderr] throw e; \r\n[2023-04-25 22:24:54] [build-stderr] ^ \r\n[2023-04-25 22:24:54] [build-stderr] Error: Debug Failure. Expected D:/a/_work/1/s/build/tsconfig.json === D:\\a\\_work\\1\\s\\build\\tsconfig.json. \r\n[2023-04-25 22:24:54] [build-stderr] at attachFileToDiagnostic (D:\\a\\_work\\_temp\\codeql3000\\github\\codeql\\javascript\\tools\\typescript-parser-wrapper\\node_modules\\typescript\\lib\\typescript.js:20186:18) \r\n[2023-04-25 22:24:54] [build-stderr] at Object.attachFileToDiagnostics (D:\\a\\_work\\_temp\\codeql3000\\github\\codeql\\javascript\\tools\\typescript-parser-wrapper\\node_modules\\typescript\\lib\\typescript.js:20218:42) \r\n[2023-04-25 22:24:54] [build-stderr] at Object.parseJsonText (D:\\a\\_work\\_temp\\codeql3000\\github\\codeql\\javascript\\tools\\typescript-parser-wrapper\\node_modules\\typescript\\lib\\typescript.js:32364:46) \r\n[2023-04-25 22:24:54] [build-stderr] at Object.parseJsonText (D:\\a\\_work\\_temp\\codeql3000\\github\\codeql\\javascript\\tools\\typescript-parser-wrapper\\node_modules\\typescript\\lib\\typescript.js:32092:23) \r\n[2023-04-25 22:24:54] [build-stderr] at parseConfigFileTextToJson (D:\\a\\_work\\_temp\\codeql3000\\github\\codeql\\javascript\\tools\\typescript-parser-wrapper\\node_modules\\typescript\\lib\\typescript.js:41734:33) \r\n[2023-04-25 22:24:54] [build-stderr] at Object.readConfigFile (D:\\a\\_work\\_temp\\codeql3000\\github\\codeql\\javascript\\tools\\typescript-parser-wrapper\\node_modules\\typescript\\lib\\typescript.js:41725:48) \r\n[2023-04-25 22:24:54] [build-stderr] at loadTsConfig (D:\\a\\_work\\_temp\\codeql3000\\github\\codeql\\javascript\\tools\\typescript-parser-wrapper\\main.js:327:23) \r\n[2023-04-25 22:24:54] [build-stderr] at handleOpenProjectCommand (D:\\a\\_work\\_temp\\codeql3000\\github\\codeql\\javascript\\tools\\typescript-parser-wrapper\\main.js:393:14) \r\n[2023-04-25 22:24:54] [build-stderr] at Interface.\u003canonymous\u003e (D:\\a\\_work\\_temp\\codeql3000\\github\\codeql\\javascript\\tools\\typescript-parser-wrapper\\main.js:620:17) \r\n[2023-04-25 22:24:54] [build-stderr] at Interface.emit (node:events:527:28) \r\n[2023-04-25 22:24:55] [build-stderr] at Interface._onLine (node:readline:487:10) \r\n[2023-04-25 22:24:55] [build-stderr] at Interface._normalWrite (node:readline:661:12) \r\n[2023-04-25 22:24:55] [build-stderr] at Socket.ondata (node:readline:269:10) \r\n[2023-04-25 22:24:55] [build-stderr] at Socket.emit (node:events:527:28) \r\n[2023-04-25 22:24:55] [build-stderr] at addChunk (node:internal/streams/readable:315:12) \r\n[2023-04-25 22:24:55] [build-stderr] at readableAddChunk (node:internal/streams/readable:289:9) \r\n[2023-04-25 22:24:55] [build-stderr] at Socket.Readable.push (node:internal/streams/readable:228:10) \r\n[2023-04-25 22:24:55] [build-stderr] at Pipe.onStreamRead (node:internal/stream_base_commons:190:23) \r\n[2023-04-25 22:24:55] [build-stderr] com.semmle.util.exception.CatastrophicError: The TypeScript parser wrapper crashed with exit code 1 \r\n[2023-04-25 22:24:55] [ERROR] Spawned process exited abnormally (code 1; tried to run: [D:\\a\\_work\\_temp\\codeql3000\\github\\codeql\\tools\\win64\\tracer.exe, D:\\a\\_work\\_temp\\codeql3000\\github\\codeql\\tools\\win64\\runner.exe, cmd.exe, /C, type, NUL, \u0026\u0026, D:\\a\\_work\\_temp\\codeql3000\\github\\codeql\\javascript\\tools\\autobuild.cmd]) \r\nA fatal error occurred: Exit status 1 from command: [D:\\a\\_work\\_temp\\codeql3000\\github\\codeql\\tools\\win64\\runner.exe, cmd.exe, /C, type, NUL, \u0026\u0026, D:\\a\\_work\\_temp\\codeql3000\\github\\codeql\\javascript\\tools\\autobuild.cmd] \r\n```","author":{"url":"https://github.com/jason-ha","@type":"Person","name":"jason-ha"},"datePublished":"2023-04-26T00:41:30.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":10},"url":"https://github.com/163/codeql-cli-binaries/issues/163"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:da8dd1d6-cb3a-8bb9-1797-6bc206f7bc87 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 8246:D31C5:76764E:986221:698D2733 |
| html-safe-nonce | af52579cf48044e4e0cff926e1adba3e0d553aba3b66cb92c72e20d13291f548 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4MjQ2OkQzMUM1Ojc2NzY0RTo5ODYyMjE6Njk4RDI3MzMiLCJ2aXNpdG9yX2lkIjoiMjE5NzM0MjA2NTM4OTI4MzEyMyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 9399bf124368802055f8260255e569ef5c3dee25cf4bb518dc45c44a3fd8dcfd |
| hovercard-subject-tag | issue:1684060327 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/github/codeql-cli-binaries/163/issue_layout |
| twitter:image | https://opengraph.githubassets.com/8da31f0b4ddc60291c1db187e0766a6adbd1e7130faad1dad14451f87027796f/github/codeql-cli-binaries/issues/163 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/8da31f0b4ddc60291c1db187e0766a6adbd1e7130faad1dad14451f87027796f/github/codeql-cli-binaries/issues/163 |
| og:image:alt | When javascript is scanned during finalize typescript-parser-wrapper can throw with tsconfig.json path mismatch. This particular situation was found when more than javascript was detected and was o... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | jason-ha |
| hostname | github.com |
| expected-hostname | github.com |
| None | c25395580e1e3bf82d705e0982a1b24255366088720fef945f1493d5e3e67954 |
| turbo-cache-control | no-preview |
| go-import | github.com/github/codeql-cli-binaries git https://github.com/github/codeql-cli-binaries.git |
| octolytics-dimension-user_id | 9919 |
| octolytics-dimension-user_login | github |
| octolytics-dimension-repository_id | 215263010 |
| octolytics-dimension-repository_nwo | github/codeql-cli-binaries |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 215263010 |
| octolytics-dimension-repository_network_root_nwo | github/codeql-cli-binaries |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 1fa2bc33fc715bfb2cb9dd8a9cad4f811c16c371 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width