2***@qq.com
2***@qq.com
  • 发布:2024-01-15 17:34
  • 更新:2024-01-15 17:34
  • 阅读:185

云函数一直显示正在上传

分类:uniCloud

产品分类: uniCloud/支付宝小程序云

示例代码:

日志如下:

2024-01-15 17:27:44.966 [WARNING:] QObject::setParent: Cannot set parent, new parent is in a different thread  
2024-01-15 17:27:45.199 [INFO:] [PluginHost] 插件app-safe-pack激活成功。  
2024-01-15 17:27:45.199 [INFO:] [PluginHost] 正在激活插件hbuilderx-language-services...  
2024-01-15 17:27:46.244 [INFO:] User logged in  
2024-01-15 17:27:46.288 [INFO:] [Update] No update.  
2024-01-15 17:27:46.302 [INFO:] Upgrade::canFallback::check( "D:/HBuilder/HBuilderX/update/backup/root/hbuilder.root" ) exits?  
2024-01-15 17:27:46.302 [INFO:] Upgrade::canFallback::check( "D:/HBuilder/HBuilderX/update/.data" ) exits?  
2024-01-15 17:27:46.303 [INFO:] Upgrade::canFallback::check( "D:/HBuilder/HBuilderX/update/.data" ) exits return true  
2024-01-15 17:27:46.781 [INFO:] [PluginHost] 插件hbuilderx-language-services激活成功。  
2024-01-15 17:27:46.782 [INFO:] [PluginHost] 正在激活插件builtincef3browser...  
2024-01-15 17:27:46.873 [INFO:] [PluginHost] 插件builtincef3browser激活成功。  
2024-01-15 17:27:46.876 [INFO:] [PluginHost] 正在激活插件unicloud...  
2024-01-15 17:27:47.338 [INFO:] [PluginHost] 插件unicloud激活成功。  
2024-01-15 17:27:47.340 [INFO:] [PluginHost] 正在激活插件hbuilderx-issue-reporter...  
2024-01-15 17:27:47.400 [INFO:] [PluginHost] 插件hbuilderx-issue-reporter激活成功。  
2024-01-15 17:27:47.402 [INFO:] [PluginHost] 正在激活插件uni_modules...  
2024-01-15 17:27:47.421 [INFO:] [PluginHost] 插件uni_modules激活成功。  
2024-01-15 17:27:47.422 [INFO:] [PluginHost] 正在激活插件launcher...  
2024-01-15 17:27:47.984 [INFO:] [PluginHost] 插件launcher激活成功。  
2024-01-15 17:27:47.985 [INFO:] [PluginHost] 正在激活插件nodeserver...  
2024-01-15 17:27:48.003 [INFO:] [PluginHost] 插件nodeserver激活成功。  
2024-01-15 17:27:48.003 [INFO:] [PluginHost] 正在激活插件Git...  
2024-01-15 17:27:48.027 [INFO:] [PluginHost] 插件Git激活成功。  
2024-01-15 17:27:48.027 [INFO:] [PluginHost] 正在激活插件extension-development...  
2024-01-15 17:27:48.047 [INFO:] [PluginHost] 插件extension-development激活成功。  
2024-01-15 17:27:48.047 [INFO:] [PluginHost] 正在激活插件uts-development-proxy...  
2024-01-15 17:27:48.054 [INFO:] [PluginHost] 插件uts-development-proxy激活成功。  
2024-01-15 17:27:48.055 [INFO:] [PluginHost] 正在激活插件unicloud_proxy...  
2024-01-15 17:27:48.060 [INFO:] [PluginHost] 插件unicloud_proxy激活成功。  
2024-01-15 17:27:48.061 [INFO:] [PluginHost] 正在激活插件uniapp-basic...  
2024-01-15 17:27:48.122 [INFO:] [PluginHost] 插件uniapp-basic激活成功。  
2024-01-15 17:27:48.127 [INFO:] [PluginHost] 正在激活插件uniapp-extension...  
2024-01-15 17:27:48.303 [INFO:] [PluginHost] 插件uniapp-extension激活成功。  
2024-01-15 17:27:48.303 [INFO:] [PluginHost] 正在激活插件chrome-base...  
2024-01-15 17:27:48.337 [INFO:] [PluginHost] 插件chrome-base激活成功。  
2024-01-15 17:27:48.338 [INFO:] [PluginHost] 正在激活插件format...  
2024-01-15 17:27:48.357 [INFO:] [PluginHost] 插件format激活成功。  
2024-01-15 17:27:49.995 [INFO:] Local Mac:  "00:50:56:C0:00:01,00:50:56:C0:00:08,C8:B2:9B:DF:06:A6"  
2024-01-15 17:27:51.746 [WARNING:] QLayout: Attempting to add QLayout "" to QWidget "", which already has a layout  
2024-01-15 17:27:51.746 [WARNING:] QLayout: Attempting to add QLayout "" to QWidget "", which already has a layout  
2024-01-15 17:27:51.763 [WARNING:] The console with ansi colors not defined at  "constant.language.boolean"  
2024-01-15 17:27:51.764 [WARNING:] The console with ansi colors not defined at  ""  
2024-01-15 17:27:51.764 [WARNING:] !!!( "workbench.console.action.clearLog" )findAction return NULLPTR, may crash.  
2024-01-15 17:27:51.764 [WARNING:] !!!( "workbench.console.action.lock" )findAction return NULLPTR, may crash.  
2024-01-15 17:27:51.765 [WARNING:] !!!( "workbench.console.action.selectAll" )findAction return NULLPTR, may crash.  
2024-01-15 17:27:51.765 [WARNING:] !!!( "workbench.console.action.copy" )findAction return NULLPTR, may crash.  
2024-01-15 17:27:51.815 [WARNING:] [PluginHost] Error: Syntax error, found trailing characters at line 16,1 >>>{  
  "uni_id_token":" ...  
    at p (D:\HBuilder\HBuilderX\plugins\unicloud\manager\index.js:1:166204)  
    at _ (D:\HBuilder\HBuilderX\plugins\unicloud\manager\index.js:1:170205)  
    at D:\HBuilder\HBuilderX\plugins\unicloud\manager\index.js:1:170595  
    at Object.qa [as parse] (D:\HBuilder\HBuilderX\plugins\unicloud\manager\index.js:1:170702)  
    at D:\HBuilder\HBuilderX\plugins\unicloud\manager\index.js:1:385022  
    at Mm (D:\HBuilder\HBuilderX\plugins\unicloud\manager\index.js:1:385071)  
    at nh (D:\HBuilder\HBuilderX\plugins\unicloud\manager\index.js:1:388595)  
    at Proxy.ih (D:\HBuilder\HBuilderX\plugins\unicloud\manager\index.js:1:388916)  
    at Du (D:\HBuilder\HBuilderX\plugins\unicloud\manager\index.js:1:255975)  
    at async Object.uploadFunction (D:\HBuilder\HBuilderX\plugins\unicloud\manager\index.js:1:272516)  

操作步骤:

上传云函数

预期结果:

成功上传

实际结果:

一直显示正在上传

bug描述:

点击上传云函数,只能上传公共模块部分,其他云函数无法上传,控制台显示正在上传后就再无反应,重启,重开依然如此,搜索板块后发现以前也有类似问题但是都无人回答解决。

2024-01-15 17:34 负责人:无 分享
已邀请:

要回复问题请先登录注册