8***@qq.com
8***@qq.com
  • 发布:2023-07-11 12:06
  • 更新:2024-08-29 12:33
  • 阅读:296

【报Bug】TypeScript语言服务启动失败

分类:HBuilderX

产品分类: HbuilderX

PC开发环境操作系统: Windows

PC开发环境操作系统版本号: Windows 10 Education

HBuilderX版本号: 3.8.7

操作步骤:

在css文件中使用语法提示,例:在css文件中输入tr:nth后无法提示出完整内容 nth-child()

预期结果:

语法提示成功

实际结果:

提示失败

bug描述:

2023-07-11 11:56:54.608 [WARNING:] [PluginHost] A non-recoverable error occured while executing tsserver command: updateOpen  

2023-07-11 11:56:54.656 [WARNING:] [PluginHost] Error processing request. Cannot destructure property 'curTag' of 'm(...)' as it is undefined.  
TypeError: Cannot destructure property 'curTag' of 'm(...)' as it is undefined.  
    at VueParser.onEndTagEvent (F:\Program Files\HBuilderX\plugins\hbuilderx-language-services\htmlservice\server\vls\codegen\dist\app.js:1:8971)  
    at VueParser.parse (F:\Program Files\HBuilderX\plugins\hbuilderx-language-services\htmlservice\server\vls\codegen\dist\vueParser.js:1:1801)  
    at codeGen (F:\Program Files\HBuilderX\plugins\hbuilderx-language-services\htmlservice\server\vls\codegen\dist\app.js:1:9687)  
    at HTMLScriptCache.getUpToDateInfo (F:\Program Files\HBuilderX\plugins\hbuilderx-language-services\htmlservice\out\HTMLScriptCache.js:1:2878)  
    at F:\Program Files\HBuilderX\plugins\hbuilderx-language-services\htmlservice\out\tsServerHTMLPlugin.js:1:4394  
    at Array.map (<anonymous>)  
    at InferredProject.t.getScriptFileNames (F:\Program Files\HBuilderX\plugins\hbuilderx-language-services\htmlservice\out\tsServerHTMLPlugin.js:1:4368)  
    at InferredProject.n.getScriptFileNames (F:\Program Files\HBuilderX\plugins\hbuilderx-language-services\vueservice\out\TsServerVuePlugin.js:1:7001)  
    at InferredProject.i.getScriptFileNames (F:\Program Files\HBuilderX\plugins\hbuilderx-language-services\markdownservice\out\tsServerMarkdownPlugin.js:1:675)  
    at Object.getScriptFileNames (F:\Program Files\HBuilderX\plugins\hbuilderx-language-services\core\out\plugins\TsServerBasePlugin.js:1:2649)  
    at new HostCache (F:\Program Files\HBuilderX\plugins\hbuilderx-language-services\node_modules\typescript\lib\tsserverlibrary.js:160161:38)  
    at synchronizeHostData (F:\Program Files\HBuilderX\plugins\hbuilderx-language-services\node_modules\typescript\lib\tsserverlibrary.js:160465:29)  
    at Object.getProgram (F:\Program Files\HBuilderX\plugins\hbuilderx-language-services\node_modules\typescript\lib\tsserverlibrary.js:160663:13)  
    at Object.s.<computed> [as getProgram] (F:\Program Files\HBuilderX\plugins\hbuilderx-language-services\core\out\plugins\TsServerBasePlugin.js:1:1032)  
    at Object.n.<computed> [as getProgram] (F:\Program Files\HBuilderX\plugins\hbuilderx-language-services\core\out\plugins\TsServerSpecialStringsPlugin.js:1:1526)  
    at Object.t.<computed> [as getProgram] (F:\Program Files\HBuilderX\plugins\hbuilderx-language-services\core\out\plugins\TsServerFileReferencesPlugin.js:1:331)  
    at Object.i.getProgram (F:\Program Files\HBuilderX\plugins\hbuilderx-language-services\styleservice\out\tsServerStylePlugin.js:1:6476)  
    at Object.i.<computed> [as getProgram] (F:\Program Files\HBuilderX\plugins\hbuilderx-language-services\htmlservice\out\tsServerHTMLPlugin.js:1:5800)  
    at Object.i.<computed> [as getProgram] (F:\Program Files\HBuilderX\plugins\hbuilderx-language-services\vueservice\out\TsServerVuePlugin.js:1:8365)  
    at Object.i.<computed> [as getProgram] (F:\Program Files\HBuilderX\plugins\hbuilderx-language-services\vueservice\out\TsServerVuePlugin.js:1:8589)  
    at Object.i.<computed> [as getProgram] (F:\Program Files\HBuilderX\plugins\hbuilderx-language-services\vueservice\out\TsServerVuePlugin.js:1:10707)  
    at Object.e.getProgram (F:\Program Files\HBuilderX\plugins\hbuilderx-language-services\markdownservice\out\tsServerMarkdownPlugin.js:1:6545)  
    at Object.n.<computed> [as getProgram] (F:\Program Files\HBuilderX\plugins\hbuilderx-language-services\core\out\plugins\TsServerApiI18nPlugin.js:1:263)  
    at InferredProject.Project.updateGraphWorker (F:\Program Files\HBuilderX\plugins\hbuilderx-language-services\node_modules\typescript\lib\tsserverlibrary.js:165289:53)  
    at InferredProject.Project.updateGraph (F:\Program Files\HBuilderX\plugins\hbuilderx-language-services\node_modules\typescript\lib\tsserverlibrary.js:165218:42)  
    at ProjectService.assignOrphanScriptInfoToInferredProject (F:\Program Files\HBuilderX\plugins\hbuilderx-language-services\node_modules\typescript\lib\tsserverlibrary.js:167395:25)  
    at ProjectService.assignProjectToOpenedScriptInfo (F:\Program Files\HBuilderX\plugins\hbuilderx-language-services\node_modules\typescript\lib\tsserverlibrary.js:169084:26)  
    at F:\Program Files\HBuilderX\plugins\hbuilderx-language-services\node_modules\typescript\lib\tsserverlibrary.js:169358:97  
    at Object.flatMap (F:\Program Files\HBuilderX\plugins\hbuilderx-language-services\node_modules\typescript\lib\tsserverlibrary.js:716:25)  
    at ProjectService.applyChangesInOpenFiles (F:\Program Files\HBuilderX\plugins\hbuilderx-language-services\node_modules\typescript\lib\tsserverlibrary.js:169358:41)  
    at Session.handlers.ts.Map.ts.getEntries._a.<computed> (F:\Program Files\HBuilderX\plugins\hbuilderx-language-services\node_modules\typescript\lib\tsserverlibrary.js:170516:46)  
    at F:\Program Files\HBuilderX\plugins\hbuilderx-language-services\node_modules\typescript\lib\tsserverlibrary.js:172449:88  
    at IOSession.Session.executeWithRequestId (F:\Program Files\HBuilderX\plugins\hbuilderx-language-services\node_modules\typescript\lib\tsserverlibrary.js:172440:28)  
    at IOSession.Session.executeCommand (F:\Program Files\HBuilderX\plugins\hbuilderx-language-services\node_modules\typescript\lib\tsserverlibrary.js:172449:33)  
    at IOSession.<anonymous> (F:\Program Files\HBuilderX\plugins\hbuilderx-language-services\node_modules\typescript\lib\nodeserver.js:1231:48)  
    at step (F:\Program Files\HBuilderX\plugins\hbuilderx-language-services\node_modules\typescript\lib\nodeserver.js:82:23)  
    at Object.next (F:\Program Files\HBuilderX\plugins\hbuilderx-language-services\node_modules\typescript\lib\nodeserver.js:63:53)  
    at F:\Program Files\HBuilderX\plugins\hbuilderx-language-services\node_modules\typescript\lib\nodeserver.js:57:71  
    at new Promise (<anonymous>)  
    at __awaiter (F:\Program Files\HBuilderX\plugins\hbuilderx-language-services\node_modules\typescript\lib\nodeserver.js:53:12)  
    at IOSession.doTask (F:\Program Files\HBuilderX\plugins\hbuilderx-language-services\node_modules\typescript\lib\nodeserver.js:1199:20)  
    at IOSession.<anonymous> (F:\Program Files\HBuilderX\plugins\hbuilderx-language-services\node_modules\typescript\lib\nodeserver.js:1190:55)  
    at step (F:\Program Files\HBuilderX\plugins\hbuilderx-language-services\node_modules\typescript\lib\nodeserver.js:82:23)  
    at Object.next (F:\Program Files\HBuilderX\plugins\hbuilderx-language-services\node_modules\typescript\lib\nodeserver.js:63:53)  
    at F:\Program Files\HBuilderX\plugins\hbuilderx-language-services\node_modules\typescript\lib\nodeserver.js:57:71  
    at new Promise (<anonymous>)  
    at __awaiter (F:\Program Files\HBuilderX\plugins\hbuilderx-language-services\node_modules\typescript\lib\nodeserver.js:53:12)  
    at IOSession.addTask (F:\Program Files\HBuilderX\plugins\hbuilderx-language-services\node_modules\typescript\lib\nodeserver.js:1185:20)  
    at IOSession.onMessage (F:\Program Files\HBuilderX\plugins\hbuilderx-language-services\node_modules\typescript\lib\nodeserver.js:1279:18)  
    at Interface.<anonymous> (F:\Program Files\HBuilderX\plugins\hbuilderx-language-services\node_modules\typescript\lib\nodeserver.js:954:23)  
    at Interface.emit (node:events:513:28)  
    at Interface._onLine (node:readline:491:10)  
    at Interface._normalWrite (node:readline:665:12)  
    at Socket.ondata (node:readline:272:10)  
    at Socket.emit (node:events:513:28)  
    at addChunk (node:internal/streams/readable:315:12)  
    at readableAddChunk (node:internal/streams/readable:289:9)  
    at Socket.Readable.push (node:internal/streams/readable:228:10)  
    at Pipe.onStreamRead (node:internal/stream_base_commons:190:23)  

2023-07-11 11:56:54.822 [WARNING:] [PluginHost] Unhandled Rejection at: Promise {  
  <rejected> Error: Could not create TS service. Service state:{"type":0}  
      at TypeScriptServiceClient.service (F:\Program Files\HBuilderX\plugins\hbuilderx-language-services\jsservice\out\typescriptServiceClient.js:1:8957)  
      at TypeScriptServiceClient.executeImpl (F:\Program Files\HBuilderX\plugins\hbuilderx-language-services\jsservice\out\typescriptServiceClient.js:1:17147)  
      at TypeScriptServiceClient.executeAsync (F:\Program Files\HBuilderX\plugins\hbuilderx-language-services\jsservice\out\typescriptServiceClient.js:1:17021)  
      at new GetErrRequest (F:\Program Files\HBuilderX\plugins\hbuilderx-language-services\jsservice\out\tsServer\bufferSyncSupport.js:1:4462)  
      at Function.executeGetErrRequest (F:\Program Files\HBuilderX\plugins\hbuilderx-language-services\jsservice\out\tsServer\bufferSyncSupport.js:1:4648)  
      at BufferSyncSupport.sendPendingDiagnostics (F:\Program Files\HBuilderX\plugins\hbuilderx-language-services\jsservice\out\tsServer\bufferSyncSupport.js:1:8971)  
      at Delayer.task (F:\Program Files\HBuilderX\plugins\hbuilderx-language-services\jsservice\out\tsServer\bufferSyncSupport.js:1:8299)  
      at F:\Program Files\HBuilderX\plugins\hbuilderx-language-services\jsservice\out\utils\async.js:1:467  
} reason: Error: Could not create TS service. Service state:{"type":0}  
    at TypeScriptServiceClient.service (F:\Program Files\HBuilderX\plugins\hbuilderx-language-services\jsservice\out\typescriptServiceClient.js:1:8957)  
    at TypeScriptServiceClient.executeImpl (F:\Program Files\HBuilderX\plugins\hbuilderx-language-services\jsservice\out\typescriptServiceClient.js:1:17147)  
    at TypeScriptServiceClient.executeAsync (F:\Program Files\HBuilderX\plugins\hbuilderx-language-services\jsservice\out\typescriptServiceClient.js:1:17021)  
    at new GetErrRequest (F:\Program Files\HBuilderX\plugins\hbuilderx-language-services\jsservice\out\tsServer\bufferSyncSupport.js:1:4462)  
    at Function.executeGetErrRequest (F:\Program Files\HBuilderX\plugins\hbuilderx-language-services\jsservice\out\tsServer\bufferSyncSupport.js:1:4648)  
    at BufferSyncSupport.sendPendingDiagnostics (F:\Program Files\HBuilderX\plugins\hbuilderx-language-services\jsservice\out\tsServer\bufferSyncSupport.js:1:8971)  
    at Delayer.task (F:\Program Files\HBuilderX\plugins\hbuilderx-language-services\jsservice\out\tsServer\bufferSyncSupport.js:1:8299)  
    at F:\Program Files\HBuilderX\plugins\hbuilderx-language-services\jsservice\out\utils\async.js:1:467  

2023-07-11 11:57:07.952 [WARNING:] [PluginHost] Error: Could not create TS service. Service state:{"type":0}  
    at TypeScriptServiceClient.service (F:\Program Files\HBuilderX\plugins\hbuilderx-language-services\jsservice\out\typescriptServiceClient.js:1:8957)  
    at TypeScriptServiceClient.executeImpl (F:\Program Files\HBuilderX\plugins\hbuilderx-language-services\jsservice\out\typescriptServiceClient.js:1:17147)  
    at TypeScriptServiceClient.execute (F:\Program Files\HBuilderX\plugins\hbuilderx-language-services\jsservice\out\typescriptServiceClient.js:1:16748)  
    at TypeScriptDefinitionProvider.getSymbolLocations (F:\Program Files\HBuilderX\plugins\hbuilderx-language-services\jsservice\out\languageFeatures\definitionProviderBase.js:1:363)  
    at TypeScriptDefinitionProvider.provideDefinition (F:\Program Files\HBuilderX\plugins\hbuilderx-language-services\jsservice\out\languageFeatures\definitions.js:1:1232)  
    at F:\Program Files\HBuilderX\plugins\plugin-manager\out.js:1:651605  
    at new Promise (<anonymous>)  
    at fire_provideDefinition (F:\Program Files\HBuilderX\plugins\plugin-manager\out.js:1:651559)  
    at F:\Program Files\HBuilderX\plugins\plugin-manager\out.js:1:347897  
    at F:\Program Files\HBuilderX\plugins\plugin-manager\out.js:1:348971  

2023-07-11 11:59:51.193 [WARNING:] [PluginHost] Unhandled Rejection at: Promise {  
  <rejected> Error: Could not create TS service. Service state:{"type":0}  
      at TypeScriptServiceClient.service (F:\Program Files\HBuilderX\plugins\hbuilderx-language-services\jsservice\out\typescriptServiceClient.js:1:8957)  
      at TypeScriptServiceClient.executeImpl (F:\Program Files\HBuilderX\plugins\hbuilderx-language-services\jsservice\out\typescriptServiceClient.js:1:17147)  
      at TypeScriptServiceClient.executeAsync (F:\Program Files\HBuilderX\plugins\hbuilderx-language-services\jsservice\out\typescriptServiceClient.js:1:17021)  
      at new GetErrRequest (F:\Program Files\HBuilderX\plugins\hbuilderx-language-services\jsservice\out\tsServer\bufferSyncSupport.js:1:4462)  
      at Function.executeGetErrRequest (F:\Program Files\HBuilderX\plugins\hbuilderx-language-services\jsservice\out\tsServer\bufferSyncSupport.js:1:4648)  
      at BufferSyncSupport.sendPendingDiagnostics (F:\Program Files\HBuilderX\plugins\hbuilderx-language-services\jsservice\out\tsServer\bufferSyncSupport.js:1:8971)  
      at Delayer.task (F:\Program Files\HBuilderX\plugins\hbuilderx-language-services\jsservice\out\tsServer\bufferSyncSupport.js:1:8299)  
      at F:\Program Files\HBuilderX\plugins\hbuilderx-language-services\jsservice\out\utils\async.js:1:467  
} reason: Error: Could not create TS service. Service state:{"type":0}  
    at TypeScriptServiceClient.service (F:\Program Files\HBuilderX\plugins\hbuilderx-language-services\jsservice\out\typescriptServiceClient.js:1:8957)  
    at TypeScriptServiceClient.executeImpl (F:\Program Files\HBuilderX\plugins\hbuilderx-language-services\jsservice\out\typescriptServiceClient.js:1:17147)  
    at TypeScriptServiceClient.executeAsync (F:\Program Files\HBuilderX\plugins\hbuilderx-language-services\jsservice\out\typescriptServiceClient.js:1:17021)  
    at new GetErrRequest (F:\Program Files\HBuilderX\plugins\hbuilderx-language-services\jsservice\out\tsServer\bufferSyncSupport.js:1:4462)  
    at Function.executeGetErrRequest (F:\Program Files\HBuilderX\plugins\hbuilderx-language-services\jsservice\out\tsServer\bufferSyncSupport.js:1:4648)  
    at BufferSyncSupport.sendPendingDiagnostics (F:\Program Files\HBuilderX\plugins\hbuilderx-language-services\jsservice\out\tsServer\bufferSyncSupport.js:1:8971)  
    at Delayer.task (F:\Program Files\HBuilderX\plugins\hbuilderx-language-services\jsservice\out\tsServer\bufferSyncSupport.js:1:8299)  
    at F:\Program Files\HBuilderX\plugins\hbuilderx-language-services\jsservice\out\utils\async.js:1:467  

2023-07-11 12:00:10.439 [WARNING:] "Can't Not Find Grammar source.c  ! "  
2023-07-11 12:00:10.440 [WARNING:] "Can't Not Find Grammar source.clojure  ! "  
2023-07-11 12:00:10.441 [WARNING:] "Can't Not Find Grammar source.coffee  ! "  
2023-07-11 12:00:10.442 [WARNING:] "Can't Not Find Grammar source.cpp  ! "  
2023-07-11 12:00:10.442 [WARNING:] "Can't Not Find Grammar source.cs  ! "  
2023-07-11 12:00:10.443 [WARNING:] "Can't Not Find Grammar source.dart  ! "  
2023-07-11 12:00:10.444 [WARNING:] "Can't Not Find Grammar source.diff  ! "  
2023-07-11 12:00:10.445 [WARNING:] "Can't Not Find Grammar source.dockerfile  ! "  
2023-07-11 12:00:10.446 [WARNING:] "Can't Not Find Grammar source.batchfile  ! "  
2023-07-11 12:00:10.447 [WARNING:] "Can't Not Find Grammar source.fsharp  ! "  
2023-07-11 12:00:10.447 [WARNING:] "Can't Not Find Grammar text.git-commit  ! "  
2023-07-11 12:00:10.448 [WARNING:] "Can't Not Find Grammar text.git-rebase  ! "  
2023-07-11 12:00:10.449 [WARNING:] "Can't Not Find Grammar source.go  ! "  
2023-07-11 12:00:10.450 [WARNING:] "Can't Not Find Grammar source.groovy  ! "  
2023-07-11 12:00:10.451 [WARNING:] "Can't Not Find Grammar text.html.handlebars  ! "  
2023-07-11 12:00:10.451 [WARNING:] "Can't Not Find Grammar source.ini  ! "  
2023-07-11 12:00:10.452 [WARNING:] "Can't Not Find Grammar source.java  ! "  
2023-07-11 12:00:10.453 [WARNING:] "Can't Not Find Grammar source.js.regexp  ! "  
2023-07-11 12:00:10.455 [WARNING:] "Can't Not Find Grammar source.json.comments  ! "  
2023-07-11 12:00:10.456 [WARNING:] "Can't Not Find Grammar source.kotlin  ! "  
2023-07-11 12:00:10.462 [WARNING:] "Can't Not Find Grammar source.lua  ! "  
2023-07-11 12:00:10.463 [WARNING:] "Can't Not Find Grammar source.makefile  ! "  
2023-07-11 12:00:10.464 [WARNING:] "Can't Not Find Grammar source.objc  ! "  
2023-07-11 12:00:10.465 [WARNING:] "Can't Not Find Grammar source.perl  ! "  
2023-07-11 12:00:10.465 [WARNING:] "Can't Not Find Grammar source.perl.6  ! "  
2023-07-11 12:00:10.483 [WARNING:] "Can't Not Find Grammar source.java  ! "  
2023-07-11 12:00:10.484 [WARNING:] "Can't Not Find Grammar source.sql  ! "  
2023-07-11 12:00:10.485 [WARNING:] "Can't Not Find Grammar source.sql  ! "  
2023-07-11 12:00:10.486 [WARNING:] "Can't Not Find Grammar source.sql  ! "  
2023-07-11 12:00:10.487 [WARNING:] "Can't Not Find Grammar source.sql  ! "  
2023-07-11 12:00:10.577 [WARNING:] "Can't Not Find Grammar source.powershell  ! "  
2023-07-11 12:00:10.578 [WARNING:] "Can't Not Find Grammar text.pug  ! "  
2023-07-11 12:00:10.579 [WARNING:] "Can't Not Find Grammar source.python  ! "  
2023-07-11 12:00:10.579 [WARNING:] "Can't Not Find Grammar source.r  ! "  
2023-07-11 12:00:10.580 [WARNING:] "Can't Not Find Grammar source.regexp.python  ! "  
2023-07-11 12:00:10.581 [WARNING:] "Can't Not Find Grammar source.ruby  ! "  
2023-07-11 12:00:10.581 [WARNING:] "Can't Not Find Grammar source.rust  ! "  
2023-07-11 12:00:10.582 [WARNING:] "Can't Not Find Grammar source.scala  ! "  
2023-07-11 12:00:10.589 [WARNING:] "Can't Not Find Grammar selectors  ! "  
2023-07-11 12:00:10.593 [WARNING:] "Can't Not Find Grammar source.shell  ! "  
2023-07-11 12:00:10.594 [WARNING:] "Can't Not Find Grammar source.sql  ! "  
2023-07-11 12:00:10.594 [WARNING:] "Can't Not Find Grammar source.swift  ! "  
2023-07-11 12:00:10.714 [WARNING:] "Can't Not Find Grammar source.asp.vb.net  ! "  
2023-07-11 12:00:10.718 [WARNING:] "Can't Not Find Grammar text.slm  ! "  
2023-07-11 12:00:10.719 [WARNING:] "Can't Not Find Grammar text.pug  ! "  
2023-07-11 12:00:10.720 [WARNING:] "Can't Not Find Grammar text.pug  ! "  
2023-07-11 12:00:10.730 [WARNING:] "Can't Not Find Grammar source.postcss  ! "  
2023-07-11 12:00:10.737 [WARNING:] "Can't Not Find Grammar source.coffee  ! "  
2023-07-11 12:00:10.738 [WARNING:] "Can't Not Find Grammar source.livescript  ! "  
2023-07-11 12:00:10.740 [WARNING:] "Can't Not Find Grammar text.xml.xsl  ! "  
2023-07-11 12:00:10.741 [WARNING:] "Can't Not Find Grammar source.yaml  ! "  
2023-07-11 12:00:10.742 [WARNING:] "Can't Not Find Grammar source.yaml  ! "  
2023-07-11 12:00:11.160 [WARNING:] [PluginHost] Unhandled Rejection at: Promise {  
  <rejected> Error: Could not create TS service. Service state:{"type":0}  
      at TypeScriptServiceClient.service (F:\Program Files\HBuilderX\plugins\hbuilderx-language-services\jsservice\out\typescriptServiceClient.js:1:8957)  
      at TypeScriptServiceClient.executeImpl (F:\Program Files\HBuilderX\plugins\hbuilderx-language-services\jsservice\out\typescriptServiceClient.js:1:17147)  
      at TypeScriptServiceClient.executeAsync (F:\Program Files\HBuilderX\plugins\hbuilderx-language-services\jsservice\out\typescriptServiceClient.js:1:17021)  
      at new GetErrRequest (F:\Program Files\HBuilderX\plugins\hbuilderx-language-services\jsservice\out\tsServer\bufferSyncSupport.js:1:4462)  
      at Function.executeGetErrRequest (F:\Program Files\HBuilderX\plugins\hbuilderx-language-services\jsservice\out\tsServer\bufferSyncSupport.js:1:4648)  
      at BufferSyncSupport.sendPendingDiagnostics (F:\Program Files\HBuilderX\plugins\hbuilderx-language-services\jsservice\out\tsServer\bufferSyncSupport.js:1:8971)  
      at Delayer.task (F:\Program Files\HBuilderX\plugins\hbuilderx-language-services\jsservice\out\tsServer\bufferSyncSupport.js:1:8299)  
      at F:\Program Files\HBuilderX\plugins\hbuilderx-language-services\jsservice\out\utils\async.js:1:467  
} reason: Error: Could not create TS service. Service state:{"type":0}  
    at TypeScriptServiceClient.service (F:\Program Files\HBuilderX\plugins\hbuilderx-language-services\jsservice\out\typescriptServiceClient.js:1:8957)  
    at TypeScriptServiceClient.executeImpl (F:\Program Files\HBuilderX\plugins\hbuilderx-language-services\jsservice\out\typescriptServiceClient.js:1:17147)  
    at TypeScriptServiceClient.executeAsync (F:\Program Files\HBuilderX\plugins\hbuilderx-language-services\jsservice\out\typescriptServiceClient.js:1:17021)  
    at new GetErrRequest (F:\Program Files\HBuilderX\plugins\hbuilderx-language-services\jsservice\out\tsServer\bufferSyncSupport.js:1:4462)  
    at Function.executeGetErrRequest (F:\Program Files\HBuilderX\plugins\hbuilderx-language-services\jsservice\out\tsServer\bufferSyncSupport.js:1:4648)  
    at BufferSyncSupport.sendPendingDiagnostics (F:\Program Files\HBuilderX\plugins\hbuilderx-language-services\jsservice\out\tsServer\bufferSyncSupport.js:1:8971)  
    at Delayer.task (F:\Program Files\HBuilderX\plugins\hbuilderx-language-services\jsservice\out\tsServer\bufferSyncSupport.js:1:8299)  
    at F:\Program Files\HBuilderX\plugins\hbuilderx-language-services\jsservice\out\utils\async.js:1:467  

2023-07-11 12:00:27.809 [WARNING:] [PluginHost] Unhandled Rejection at: Promise {  
  <rejected> Error: Could not create TS service. Service state:{"type":0}  
      at TypeScriptServiceClient.service (F:\Program Files\HBuilderX\plugins\hbuilderx-language-services\jsservice\out\typescriptServiceClient.js:1:8957)  
      at TypeScriptServiceClient.executeImpl (F:\Program Files\HBuilderX\plugins\hbuilderx-language-services\jsservice\out\typescriptServiceClient.js:1:17147)  
      at TypeScriptServiceClient.executeAsync (F:\Program Files\HBuilderX\plugins\hbuilderx-language-services\jsservice\out\typescriptServiceClient.js:1:17021)  
      at new GetErrRequest (F:\Program Files\HBuilderX\plugins\hbuilderx-language-services\jsservice\out\tsServer\bufferSyncSupport.js:1:4462)  
      at Function.executeGetErrRequest (F:\Program Files\HBuilderX\plugins\hbuilderx-language-services\jsservice\out\tsServer\bufferSyncSupport.js:1:4648)  
      at BufferSyncSupport.sendPendingDiagnostics (F:\Program Files\HBuilderX\plugins\hbuilderx-language-services\jsservice\out\tsServer\bufferSyncSupport.js:1:8971)  
      at Delayer.task (F:\Program Files\HBuilderX\plugins\hbuilderx-language-services\jsservice\out\tsServer\bufferSyncSupport.js:1:8299)  
      at F:\Program Files\HBuilderX\plugins\hbuilderx-language-services\jsservice\out\utils\async.js:1:467  
} reason: Error: Could not create TS service. Service state:{"type":0}  
    at TypeScriptServiceClient.service (F:\Program Files\HBuilderX\plugins\hbuilderx-language-services\jsservice\out\typescriptServiceClient.js:1:8957)  
    at TypeScriptServiceClient.executeImpl (F:\Program Files\HBuilderX\plugins\hbuilderx-language-services\jsservice\out\typescriptServiceClient.js:1:17147)  
    at TypeScriptServiceClient.executeAsync (F:\Program Files\HBuilderX\plugins\hbuilderx-language-services\jsservice\out\typescriptServiceClient.js:1:17021)  
    at new GetErrRequest (F:\Program Files\HBuilderX\plugins\hbuilderx-language-services\jsservice\out\tsServer\bufferSyncSupport.js:1:4462)  
    at Function.executeGetErrRequest (F:\Program Files\HBuilderX\plugins\hbuilderx-language-services\jsservice\out\tsServer\bufferSyncSupport.js:1:4648)  
    at BufferSyncSupport.sendPendingDiagnostics (F:\Program Files\HBuilderX\plugins\hbuilderx-language-services\jsservice\out\tsServer\bufferSyncSupport.js:1:8971)  
    at Delayer.task (F:\Program Files\HBuilderX\plugins\hbuilderx-language-services\jsservice\out\tsServer\bufferSyncSupport.js:1:8299)  
    at F:\Program Files\HBuilderX\plugins\hbuilderx-language-services\jsservice\out\utils\async.js:1:467  

2023-07-11 12:00:29.222 [WARNING:] [PluginHost] Error: Could not create TS service. Service state:{"type":0}  
    at TypeScriptServiceClient.service (F:\Program Files\HBuilderX\plugins\hbuilderx-language-services\jsservice\out\typescriptServiceClient.js:1:8957)  
    at TypeScriptServiceClient.executeImpl (F:\Program Files\HBuilderX\plugins\hbuilderx-language-services\jsservice\out\typescriptServiceClient.js:1:17147)  
    at TypeScriptServiceClient.execute (F:\Program Files\HBuilderX\plugins\hbuilderx-language-services\jsservice\out\typescriptServiceClient.js:1:16748)  
    at TypeScriptDefinitionProvider.getSymbolLocations (F:\Program Files\HBuilderX\plugins\hbuilderx-language-services\jsservice\out\languageFeatures\definitionProviderBase.js:1:363)  
    at TypeScriptDefinitionProvider.provideDefinition (F:\Program Files\HBuilderX\plugins\hbuilderx-language-services\jsservice\out\languageFeatures\definitions.js:1:1232)  
    at F:\Program Files\HBuilderX\plugins\plugin-manager\out.js:1:651605  
    at new Promise (<anonymous>)  
    at fire_provideDefinition (F:\Program Files\HBuilderX\plugins\plugin-manager\out.js:1:651559)  
    at F:\Program Files\HBuilderX\plugins\plugin-manager\out.js:1:347897  
    at F:\Program Files\HBuilderX\plugins\plugin-manager\out.js:1:348971  

2023-07-11 12:00:29.424 [WARNING:] [PluginHost] Unhandled Rejection at: Promise {  
  <rejected> Error: Could not create TS service. Service state:{"type":0}  
      at TypeScriptServiceClient.service (F:\Program Files\HBuilderX\plugins\hbuilderx-language-services\jsservice\out\typescriptServiceClient.js:1:8957)  
      at TypeScriptServiceClient.executeImpl (F:\Program Files\HBuilderX\plugins\hbuilderx-language-services\jsservice\out\typescriptServiceClient.js:1:17147)  
      at TypeScriptServiceClient.executeAsync (F:\Program Files\HBuilderX\plugins\hbuilderx-language-services\jsservice\out\typescriptServiceClient.js:1:17021)  
      at new GetErrRequest (F:\Program Files\HBuilderX\plugins\hbuilderx-language-services\jsservice\out\tsServer\bufferSyncSupport.js:1:4462)  
      at Function.executeGetErrRequest (F:\Program Files\HBuilderX\plugins\hbuilderx-language-services\jsservice\out\tsServer\bufferSyncSupport.js:1:4648)  
      at BufferSyncSupport.sendPendingDiagnostics (F:\Program Files\HBuilderX\plugins\hbuilderx-language-services\jsservice\out\tsServer\bufferSyncSupport.js:1:8971)  
      at Delayer.task (F:\Program Files\HBuilderX\plugins\hbuilderx-language-services\jsservice\out\tsServer\bufferSyncSupport.js:1:8299)  
      at F:\Program Files\HBuilderX\plugins\hbuilderx-language-services\jsservice\out\utils\async.js:1:467  
} reason: Error: Could not create TS service. Service state:{"type":0}  
    at TypeScriptServiceClient.service (F:\Program Files\HBuilderX\plugins\hbuilderx-language-services\jsservice\out\typescriptServiceClient.js:1:8957)  
    at TypeScriptServiceClient.executeImpl (F:\Program Files\HBuilderX\plugins\hbuilderx-language-services\jsservice\out\typescriptServiceClient.js:1:17147)  
    at TypeScriptServiceClient.executeAsync (F:\Program Files\HBuilderX\plugins\hbuilderx-language-services\jsservice\out\typescriptServiceClient.js:1:17021)  
    at new GetErrRequest (F:\Program Files\HBuilderX\plugins\hbuilderx-language-services\jsservice\out\tsServer\bufferSyncSupport.js:1:4462)  
    at Function.executeGetErrRequest (F:\Program Files\HBuilderX\plugins\hbuilderx-language-services\jsservice\out\tsServer\bufferSyncSupport.js:1:4648)  
    at BufferSyncSupport.sendPendingDiagnostics (F:\Program Files\HBuilderX\plugins\hbuilderx-language-services\jsservice\out\tsServer\bufferSyncSupport.js:1:8971)  
    at Delayer.task (F:\Program Files\HBuilderX\plugins\hbuilderx-language-services\jsservice\out\tsServer\bufferSyncSupport.js:1:8299)  
    at F:\Program Files\HBuilderX\plugins\hbuilderx-language-services\jsservice\out\utils\async.js:1:467  

2023-07-11 12:01:57.452 [WARNING:] [PluginHost] Unhandled Rejection at: Promise {  
  <rejected> Error: Could not create TS service. Service state:{"type":0}  
      at TypeScriptServiceClient.service (F:\Program Files\HBuilderX\plugins\hbuilderx-language-services\jsservice\out\typescriptServiceClient.js:1:8957)  
      at TypeScriptServiceClient.executeImpl (F:\Program Files\HBuilderX\plugins\hbuilderx-language-services\jsservice\out\typescriptServiceClient.js:1:17147)  
      at TypeScriptServiceClient.executeAsync (F:\Program Files\HBuilderX\plugins\hbuilderx-language-services\jsservice\out\typescriptServiceClient.js:1:17021)  
      at new GetErrRequest (F:\Program Files\HBuilderX\plugins\hbuilderx-language-services\jsservice\out\tsServer\bufferSyncSupport.js:1:4462)  
      at Function.executeGetErrRequest (F:\Program Files\HBuilderX\plugins\hbuilderx-language-services\jsservice\out\tsServer\bufferSyncSupport.js:1:4648)  
      at BufferSyncSupport.sendPendingDiagnostics (F:\Program Files\HBuilderX\plugins\hbuilderx-language-services\jsservice\out\tsServer\bufferSyncSupport.js:1:8971)  
      at Delayer.task (F:\Program Files\HBuilderX\plugins\hbuilderx-language-services\jsservice\out\tsServer\bufferSyncSupport.js:1:8299)  
      at F:\Program Files\HBuilderX\plugins\hbuilderx-language-services\jsservice\out\utils\async.js:1:467  
} reason: Error: Could not create TS service. Service state:{"type":0}  
    at TypeScriptServiceClient.service (F:\Program Files\HBuilderX\plugins\hbuilderx-language-services\jsservice\out\typescriptServiceClient.js:1:8957)  
    at TypeScriptServiceClient.executeImpl (F:\Program Files\HBuilderX\plugins\hbuilderx-language-services\jsservice\out\typescriptServiceClient.js:1:17147)  
    at TypeScriptServiceClient.executeAsync (F:\Program Files\HBuilderX\plugins\hbuilderx-language-services\jsservice\out\typescriptServiceClient.js:1:17021)  
    at new GetErrRequest (F:\Program Files\HBuilderX\plugins\hbuilderx-language-services\jsservice\out\tsServer\bufferSyncSupport.js:1:4462)  
    at Function.executeGetErrRequest (F:\Program Files\HBuilderX\plugins\hbuilderx-language-services\jsservice\out\tsServer\bufferSyncSupport.js:1:4648)  
    at BufferSyncSupport.sendPendingDiagnostics (F:\Program Files\HBuilderX\plugins\hbuilderx-language-services\jsservice\out\tsServer\bufferSyncSupport.js:1:8971)  
    at Delayer.task (F:\Program Files\HBuilderX\plugins\hbuilderx-language-services\jsservice\out\tsServer\bufferSyncSupport.js:1:8299)  
    at F:\Program Files\HBuilderX\plugins\hbuilderx-language-services\jsservice\out\utils\async.js:1:467  
2023-07-11 12:06 负责人:无 分享
已邀请:
2***@qq.com

2***@qq.com

我也遇到了这个问题,哥们解决了吗?语言服务:tsserver启动失败或意外退出!

要回复问题请先登录注册