2***@qq.com
2***@qq.com
  • 发布:2025-01-02 15:26
  • 更新:2025-01-03 11:41
  • 阅读:92

【报Bug】schema2code 一只loading

分类:uniCloud

产品分类: uniCloud/App

操作步骤:
  1. 在云平台使用opendb-contacts.schema.json 模版创建。
  2. 下载到编辑器
  3. 右键使用 schema2code
  4. 一致loading

Hbuilder X 4.44 版本,schema2code 是最新插件。

预期结果:

可以正常生成代码

实际结果:

显示loading

bug描述:

schema2code 一只loading

运行日志如下:

2025-01-02 15:18:35.542 [INFO:] [PluginHost] 正在激活插件uni-schema2code...
2025-01-02 15:18:35.561 [INFO:] [PluginHost] 插件uni-schema2code激活成功。
2025-01-02 15:18:38.333 [WARNING:] QLayout: Cannot add a null widget to QVBoxLayout/
2025-01-02 15:18:38.734 [INFO:] construct cef3 webview.
2025-01-02 15:18:42.061 [INFO:] Upgrade::isFallbackedVersion ?
2025-01-02 15:18:42.062 [INFO:] Upgrade::isFallbackedVersion return false
2025-01-02 15:18:42.062 [INFO:] Upgrade::canFallback::check( "C:/Program/HBuilderX.4.44.2024123110/HBuilderX/update/backup/root/hbuilder.root" ) exits?
2025-01-02 15:18:42.063 [INFO:] Upgrade::canFallback::check return false
2025-01-02 15:19:37.114 [WARNING:] [PluginHost] TypeScriptServerError: <semantic> TypeScript Server Error (5.2.2)
undefined
undefined
at TypeScriptServerError.create (C:\Program\HBuilderX.4.44.2024123110\HBuilderX\plugins\hbuilderx-language-services\jsservice\out\tsServer\serverError.js:1:224)
at ProcessBasedTsServer.dispatchResponse (C:\Program\HBuilderX.4.44.2024123110\HBuilderX\plugins\hbuilderx-language-services\jsservice\out\tsServer\server.js:1:3097)
at ProcessBasedTsServer.dispatchMessage (C:\Program\HBuilderX.4.44.2024123110\HBuilderX\plugins\hbuilderx-language-services\jsservice\out\tsServer\server.js:1:1906)
at C:\Program\HBuilderX.4.44.2024123110\HBuilderX\plugins\hbuilderx-language-services\jsservice\out\tsServer\server.js:1:1335
at e.fire (C:\Program\HBuilderX.4.44.2024123110\HBuilderX\plugins\plugin-manager\out.js:1:30225)
at Reader.onLengthData (C:\Program\HBuilderX.4.44.2024123110\HBuilderX\plugins\hbuilderx-language-services\jsservice\out\tsServer\serverProcess.electron.js:1:2411)
at Socket.<anonymous> (C:\Program\HBuilderX.4.44.2024123110\HBuilderX\plugins\hbuilderx-language-services\jsservice\out\tsServer\serverProcess.electron.js:1:2058)
at Socket.emit (node:events:517:28)
at addChunk (node:internal/streams/readable:368:12)
at readableAddChunk (node:internal/streams/readable:341:9) {
serverId: 'semantic',
version: TypeScriptVersion {
source: 'ts-nightly-extension',
path: 'C:\Program\HBuilderX.4.44.2024123110\HBuilderX\plugins\hbuilderx-language-services\node_modules\typescript\lib\tsserver.js',
apiVersion: API {
displayName: '5.2.2',
version: '5.2.2',
fullVersionString: '5.2.2'
},
_pathLabel: ''
},
response: {
seq: 0,
type: 'response',
command: 'unknown',
request_seq: 5,
success: false,
message: 'Unrecognized JSON command: onReportMessage',
_serverType: 'semantic'
},
serverMessage: undefined,
serverStack: undefined,
sanitizedStack: undefined
}

2025-01-02 15:21:37.112 [WARNING:] [PluginHost] TypeScriptServerError: <semantic> TypeScript Server Error (5.2.2)
undefined
undefined
at TypeScriptServerError.create (C:\Program\HBuilderX.4.44.2024123110\HBuilderX\plugins\hbuilderx-language-services\jsservice\out\tsServer\serverError.js:1:224)
at ProcessBasedTsServer.dispatchResponse (C:\Program\HBuilderX.4.44.2024123110\HBuilderX\plugins\hbuilderx-language-services\jsservice\out\tsServer\server.js:1:3097)
at ProcessBasedTsServer.dispatchMessage (C:\Program\HBuilderX.4.44.2024123110\HBuilderX\plugins\hbuilderx-language-services\jsservice\out\tsServer\server.js:1:1906)
at C:\Program\HBuilderX.4.44.2024123110\HBuilderX\plugins\hbuilderx-language-services\jsservice\out\tsServer\server.js:1:1335
at e.fire (C:\Program\HBuilderX.4.44.2024123110\HBuilderX\plugins\plugin-manager\out.js:1:30225)
at Reader.onLengthData (C:\Program\HBuilderX.4.44.2024123110\HBuilderX\plugins\hbuilderx-language-services\jsservice\out\tsServer\serverProcess.electron.js:1:2411)
at Socket.<anonymous> (C:\Program\HBuilderX.4.44.2024123110\HBuilderX\plugins\hbuilderx-language-services\jsservice\out\tsServer\serverProcess.electron.js:1:2058)
at Socket.emit (node:events:517:28)
at addChunk (node:internal/streams/readable:368:12)
at readableAddChunk (node:internal/streams/readable:341:9) {
serverId: 'semantic',
version: TypeScriptVersion {
source: 'ts-nightly-extension',
path: 'C:\Program\HBuilderX.4.44.2024123110\HBuilderX\plugins\hbuilderx-language-services\node_modules\typescript\lib\tsserver.js',
apiVersion: API {
displayName: '5.2.2',
version: '5.2.2',
fullVersionString: '5.2.2'
},
_pathLabel: ''
},
response: {
seq: 0,
type: 'response',
command: 'unknown',
request_seq: 6,
success: false,
message: 'Unrecognized JSON command: onReportMessage',
_serverType: 'semantic'
},
serverMessage: undefined,
serverStack: undefined,
sanitizedStack: undefined
}

2025-01-02 15:26 负责人:无 分享
已邀请:
DCloud_uni-ad_HDX

DCloud_uni-ad_HDX

重启 HBuilderX 试试

  • 2***@qq.com (作者)

    重新启动了,并且重新安装了,问题每次必现

    2025-01-03 13:58

要回复问题请先登录注册