h***@163.com
h***@163.com
  • 发布:2023-05-30 02:17
  • 更新:2023-06-05 11:24
  • 阅读:284

【报Bug】部分提示功能失效

分类:HBuilderX

产品分类: HbuilderX

PC开发环境操作系统: Windows

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

HBuilderX版本号: 3.8.3

操作步骤:

日志跟踪

预期结果:

能正常提示

实际结果:

部分提示功能失效

bug描述:

都把typescript插件卸载了,还是一直在报。

2023-05-30 02:12:50.478 [WARNING:] [PluginHost] Unhandled Rejection at: Promise {
<rejected> TypeScriptServerError: <semantic> TypeScript Server Error (4.5.5)
Debug Failure. False expression.
Error: Debug Failure. False expression.
at IOSession.Session.resetCurrentRequest (D:\Program Files\HBuilderX\plugins\hbuilderx-language-services\node_modules\typescript\lib\tsserverlibrary.js:172433:26)
at IOSession.Session.executeWithRequestId (D:\Program Files\HBuilderX\plugins\hbuilderx-language-services\node_modules\typescript\lib\tsserverlibrary.js:172443:26)
at IOSession.Session.executeCommand (D:\Program Files\HBuilderX\plugins\hbuilderx-language-services\node_modules\typescript\lib\tsserverlibrary.js:172449:33)
at IOSession.onMessage (D:\Program Files\HBuilderX\plugins\hbuilderx-language-services\node_modules\typescript\lib\nodeserver.js:1200:31)
at Interface.<anonymous> (D:\Program Files\HBuilderX\plugins\hbuilderx-language-services\node_modules\typescript\lib\nodeserver.js:952: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)
at Function.create (D:\Program Files\HBuilderX\plugins\hbuilderx-language-services\jsservice\out\tsServer\serverError.js:1:429)
at ProcessBasedTsServer.dispatchResponse (D:\Program Files\HBuilderX\plugins\hbuilderx-language-services\jsservice\out\tsServer\server.js:1:3029)
at ProcessBasedTsServer.dispatchMessage (D:\Program Files\HBuilderX\plugins\hbuilderx-language-services\jsservice\out\tsServer\server.js:1:1838)
at D:\Program Files\HBuilderX\plugins\hbuilderx-language-services\jsservice\out\tsServer\server.js:1:1343
at e.fire (D:\Program Files\HBuilderX\plugins\plugin-manager\out.js:1:27853)
at Reader.onLengthData (D:\Program Files\HBuilderX\plugins\hbuilderx-language-services\jsservice\out\tsServer\serverProcess.electron.js:1:2411)
at Socket.<anonymous> (D:\Program Files\HBuilderX\plugins\hbuilderx-language-services\jsservice\out\tsServer\serverProcess.electron.js:1:2058)
at Socket.emit (node:events:513:28)
at addChunk (node:internal/streams/readable:315:12)
at readableAddChunk (node:internal/streams/readable:289:9) {
serverId: 'semantic',
version: TypeScriptVersion {
source: 'ts-nightly-extension',
path: 'D:\Program Files\HBuilderX\plugins\hbuilderx-language-services\node_modules\typescript\lib\tsserver.js',
apiVersion: [API],
_pathLabel: ''
},
response: {
seq: 0,
type: 'response',
command: 'updateOpen',
request_seq: 50,
success: false,
performanceData: [Object],
message: 'Error processing request. Debug Failure. False expression.\n' +
'Error: Debug Failure. False expression.\n' +
' at IOSession.Session.resetCurrentRequest (D:\Program Files\HBuilderX\plugins\hbuilderx-language-services\node_modules\typescript\lib\tsserverlibrary.js:172433:26)\n' +
' at IOSession.Session.executeWithRequestId (D:\Program Files\HBuilderX\plugins\hbuilderx-language-services\node_modules\typescript\lib\tsserverlibrary.js:172443:26)\n' +
' at IOSession.Session.executeCommand (D:\Program Files\HBuilderX\plugins\hbuilderx-language-services\node_modules\typescript\lib\tsserverlibrary.js:172449:33)\n' +
' at IOSession.onMessage (D:\Program Files\HBuilderX\plugins\hbuilderx-language-services\node_modules\typescript\lib\nodeserver.js:1200:31)\n' +
' at Interface.<anonymous> (D:\Program Files\HBuilderX\plugins\hbuilderx-language-services\node_modules\typescript\lib\nodeserver.js:952:23)\n' +
' at Interface.emit (node:events:513:28)\n' +
' at Interface._onLine (node:readline:491:10)\n' +
' at Interface._normalWrite (node:readline:665:12)\n' +
' at Socket.ondata (node:readline:272:10)\n' +
' at Socket.emit (node:events:513:28)\n' +
' at addChunk (node:internal/streams/readable:315:12)\n' +
' at readableAddChunk (node:internal/streams/readable:289:9)\n' +
' at Socket.Readable.push (node:internal/streams/readable:228:10)\n' +
' at Pipe.onStreamRead (node:internal/stream_base_commons:190:23)',
_serverType: 'semantic'
},
serverMessage: 'Debug Failure. False expression.',
serverStack: 'Error: Debug Failure. False expression.\n' +
' at IOSession.Session.resetCurrentRequest (D:\Program Files\HBuilderX\plugins\hbuilderx-language-services\node_modules\typescript\lib\tsserverlibrary.js:172433:26)\n' +
' at IOSession.Session.executeWithRequestId (D:\Program Files\HBuilderX\plugins\hbuilderx-language-services\node_modules\typescript\lib\tsserverlibrary.js:172443:26)\n' +
' at IOSession.Session.executeCommand (D:\Program Files\HBuilderX\plugins\hbuilderx-language-services\node_modules\typescript\lib\tsserverlibrary.js:172449:33)\n' +
' at IOSession.onMessage (D:\Program Files\HBuilderX\plugins\hbuilderx-language-services\node_modules\typescript\lib\nodeserver.js:1200:31)\n' +
' at Interface.<anonymous> (D:\Program Files\HBuilderX\plugins\hbuilderx-language-services\node_modules\typescript\lib\nodeserver.js:952:23)\n' +
' at Interface.emit (node:events:513:28)\n' +
' at Interface._onLine (node:readline:491:10)\n' +
' at Interface._normalWrite (node:readline:665:12)\n' +
' at Socket.ondata (node:readline:272:10)\n' +
' at Socket.emit (node:events:513:28)\n' +
' at addChunk (node:internal/streams/readable:315:12)\n' +
' at readableAddChunk (node:internal/streams/readable:289:9)\n' +
' at Socket.Readable.push (node:internal/streams/readable:228:10)\n' +
' at Pipe.onStreamRead (node:internal/stream_base_commons:190:23)',
sanitizedStack: 'suppressed.js:172433:26\n' +
'suppressed.js:172443:26\n' +
'suppressed.js:172449:33\n' +
'suppressed.js:1200:31\n' +
'suppressed.js:952:23\n'
}
} reason: TypeScriptServerError: <semantic> TypeScript Server Error (4.5.5)
Debug Failure. False expression.
Error: Debug Failure. False expression.
at IOSession.Session.resetCurrentRequest (D:\Program Files\HBuilderX\plugins\hbuilderx-language-services\node_modules\typescript\lib\tsserverlibrary.js:172433:26)
at IOSession.Session.executeWithRequestId (D:\Program Files\HBuilderX\plugins\hbuilderx-language-services\node_modules\typescript\lib\tsserverlibrary.js:172443:26)
at IOSession.Session.executeCommand (D:\Program Files\HBuilderX\plugins\hbuilderx-language-services\node_modules\typescript\lib\tsserverlibrary.js:172449:33)
at IOSession.onMessage (D:\Program Files\HBuilderX\plugins\hbuilderx-language-services\node_modules\typescript\lib\nodeserver.js:1200:31)
at Interface.<anonymous> (D:\Program Files\HBuilderX\plugins\hbuilderx-language-services\node_modules\typescript\lib\nodeserver.js:952: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)
at Function.create (D:\Program Files\HBuilderX\plugins\hbuilderx-language-services\jsservice\out\tsServer\serverError.js:1:429)
at ProcessBasedTsServer.dispatchResponse (D:\Program Files\HBuilderX\plugins\hbuilderx-language-services\jsservice\out\tsServer\server.js:1:3029)
at ProcessBasedTsServer.dispatchMessage (D:\Program Files\HBuilderX\plugins\hbuilderx-language-services\jsservice\out\tsServer\server.js:1:1838)
at D:\Program Files\HBuilderX\plugins\hbuilderx-language-services\jsservice\out\tsServer\server.js:1:1343
at e.fire (D:\Program Files\HBuilderX\plugins\plugin-manager\out.js:1:27853)
at Reader.onLengthData (D:\Program Files\HBuilderX\plugins\hbuilderx-language-services\jsservice\out\tsServer\serverProcess.electron.js:1:2411)
at Socket.<anonymous> (D:\Program Files\HBuilderX\plugins\hbuilderx-language-services\jsservice\out\tsServer\serverProcess.electron.js:1:2058)
at Socket.emit (node:events:513:28)
at addChunk (node:internal/streams/readable:315:12)
at readableAddChunk (node:internal/streams/readable:289:9) {
serverId: 'semantic',
version: TypeScriptVersion {
source: 'ts-nightly-extension',
path: 'D:\Program Files\HBuilderX\plugins\hbuilderx-language-services\node_modules\typescript\lib\tsserver.js',
apiVersion: API {
displayName: '4.5.5',
version: '4.5.5',
fullVersionString: '4.5.5'
},
_pathLabel: ''
},
response: {
seq: 0,
type: 'response',
command: 'updateOpen',
request_seq: 50,
success: false,
performanceData: {
updateGraphDurationMs: 9388.347200002521,
createAutoImportProviderProgramDurationMs: 139.25439999997616
},
message: 'Error processing request. Debug Failure. False expression.\n' +
'Error: Debug Failure. False expression.\n' +
' at IOSession.Session.resetCurrentRequest (D:\Program Files\HBuilderX\plugins\hbuilderx-language-services\node_modules\typescript\lib\tsserverlibrary.js:172433:26)\n' +
' at IOSession.Session.executeWithRequestId (D:\Program Files\HBuilderX\plugins\hbuilderx-language-services\node_modules\typescript\lib\tsserverlibrary.js:172443:26)\n' +
' at IOSession.Session.executeCommand (D:\Program Files\HBuilderX\plugins\hbuilderx-language-services\node_modules\typescript\lib\tsserverlibrary.js:172449:33)\n' +
' at IOSession.onMessage (D:\Program Files\HBuilderX\plugins\hbuilderx-language-services\node_modules\typescript\lib\nodeserver.js:1200:31)\n' +
' at Interface.<anonymous> (D:\Program Files\HBuilderX\plugins\hbuilderx-language-services\node_modules\typescript\lib\nodeserver.js:952:23)\n' +
' at Interface.emit (node:events:513:28)\n' +
' at Interface._onLine (node:readline:491:10)\n' +
' at Interface._normalWrite (node:readline:665:12)\n' +
' at Socket.ondata (node:readline:272:10)\n' +
' at Socket.emit (node:events:513:28)\n' +
' at addChunk (node:internal/streams/readable:315:12)\n' +
' at readableAddChunk (node:internal/streams/readable:289:9)\n' +
' at Socket.Readable.push (node:internal/streams/readable:228:10)\n' +
' at Pipe.onStreamRead (node:internal/stream_base_commons:190:23)',
_serverType: 'semantic'
},
serverMessage: 'Debug Failure. False expression.',
serverStack: 'Error: Debug Failure. False expression.\n' +
' at IOSession.Session.resetCurrentRequest (D:\Program Files\HBuilderX\plugins\hbuilderx-language-services\node_modules\typescript\lib\tsserverlibrary.js:172433:26)\n' +
' at IOSession.Session.executeWithRequestId (D:\Program Files\HBuilderX\plugins\hbuilderx-language-services\node_modules\typescript\lib\tsserverlibrary.js:172443:26)\n' +
' at IOSession.Session.executeCommand (D:\Program Files\HBuilderX\plugins\hbuilderx-language-services\node_modules\typescript\lib\tsserverlibrary.js:172449:33)\n' +
' at IOSession.onMessage (D:\Program Files\HBuilderX\plugins\hbuilderx-language-services\node_modules\typescript\lib\nodeserver.js:1200:31)\n' +
' at Interface.<anonymous> (D:\Program Files\HBuilderX\plugins\hbuilderx-language-services\node_modules\typescript\lib\nodeserver.js:952:23)\n' +
' at Interface.emit (node:events:513:28)\n' +
' at Interface._onLine (node:readline:491:10)\n' +
' at Interface._normalWrite (node:readline:665:12)\n' +
' at Socket.ondata (node:readline:272:10)\n' +
' at Socket.emit (node:events:513:28)\n' +
' at addChunk (node:internal/streams/readable:315:12)\n' +
' at readableAddChunk (node:internal/streams/readable:289:9)\n' +
' at Socket.Readable.push (node:internal/streams/readable:228:10)\n' +
' at Pipe.onStreamRead (node:internal/stream_base_commons:190:23)',
sanitizedStack: 'suppressed.js:172433:26\n' +
'suppressed.js:172443:26\n' +
'suppressed.js:172449:33\n' +
'suppressed.js:1200:31\n' +
'suppressed.js:952:23\n'
}

2023-05-30 02:17 负责人:无 分享
已邀请:
DCloud_HB_WKP

DCloud_HB_WKP

此问题已解决,可以升级到3.8.4

要回复问题请先登录注册