5***@qq.com
5***@qq.com
  • 发布:2024-04-08 11:59
  • 更新:2024-04-08 11:59
  • 阅读:59

【报Bug】运行终端后白屏,点击预览也是白屏

分类:uni-app

产品分类: uniapp/App

PC开发环境操作系统: Mac

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

HBuilderX类型: 正式

HBuilderX版本号: 4.08

手机系统: 全部

手机厂商: 华为

页面类型: vue

vue版本: vue3

打包方式: 离线

项目创建方式: HBuilderX

测试过的手机:

与手机无关,编译器问题

操作步骤:

每次打开终端都是这样,重装后问题依旧

预期结果:

正常使用

实际结果:

无法使用

bug描述:

日志
2024-04-08 11:52:47.605 [INFO:] Upgrade::isFallbackedVersion ?
2024-04-08 11:52:47.605 [INFO:] Upgrade::isFallbackedVersion return false
2024-04-08 11:52:47.606 [INFO:] Upgrade::canFallback::check( "/Applications/HBuilderX.app/Contents/HBuilderX/update/backup/root/hbuilder.root" ) exits?
2024-04-08 11:52:47.606 [INFO:] Upgrade::canFallback::check return false
2024-04-08 11:53:56.659 [INFO:] DevTools Debugging port: 9777
2024-04-08 11:53:56.710 [WARNING:] Could not find virtual screen for QCocoaScreen(0x6000014b45a0, index=0, native=<NSScreen: 0x6000001a07e0>, geometry=QRect(0,0 1920x1080), dpr=1, name="IG27Q") with displayId 1489621065
2024-04-08 11:53:56.749 [WARNING:] Could not find virtual screen for QCocoaScreen(0x6000014b45a0, index=0, native=<NSScreen: 0x6000001a07e0>, geometry=QRect(0,0 1920x1080), dpr=1, name="IG27Q") with displayId 1489621065
2024-04-08 11:53:56.751 [INFO:] (createbottomview tabw::currentchanged) getcurrentbottomconsoleview
2024-04-08 11:53:56.752 [INFO:] (createbottomview sashview::viewadded) bottomviewcurrentchanged
2024-04-08 11:53:56.759 [WARNING:] Could not find virtual screen for QCocoaScreen(0x6000014b45a0, index=0, native=<NSScreen: 0x6000001a07e0>, geometry=QRect(0,0 1920x1080), dpr=1, name="IG27Q") with displayId 1489621065
2024-04-08 11:53:57.136 [WARNING:] Color: is invalid using fallback #000000
2024-04-08 11:53:59.705 [INFO:] start process workbenchwindow close event
2024-04-08 11:53:59.705 [INFO:] start save workbench states.
2024-04-08 11:53:59.715 [INFO:] finish save workbench states.
2024-04-08 11:53:59.715 [INFO:] Pre shutdown,notify plugin host 'aboutToClosedWorkbench'
2024-04-08 11:53:59.716 [INFO:] finish process workbenchwindow close event
2024-04-08 11:53:59.756 [INFO:] [PluginHost] Plugin host exit with code: 1
2024-04-08 11:53:59.759 [WARNING:] QObject::connect: signal not found in QWidget
2024-04-08 11:53:59.787 [INFO:] recv qApp about to quit event,reset boot state.
2024-04-08 11:53:59.789 [INFO:] exit main loop.
2024-04-08 11:53:59.791 [INFO:] msg connection destroyed
2024-04-08 11:53:59.793 [INFO:] !SESSION_END ====================================

2024-04-08 11:53:59.806 [INFO:] (upgrade) [0x "6000023697e0" ] beforecloseapp (appArgs: ("/Applications/HBuilderX.app/Contents/MacOS/HBuilderX") )
2024-04-08 11:53:59.806 [INFO:] (upgrade) (upgradePath: "/Applications/HBuilderX.app/Contents/HBuilderX/update" ) (version: "4.08.2024040127" ) (appdir: "/Applications/HBuilderX.app/Contents/MacOS" )
2024-04-08 11:53:59.806 [INFO:] Upgrade::upgradeBeforeCloseApp::closeAction: 3
2024-04-08 11:53:59.806 [INFO:]

2024-04-08 11:54:02.173 [INFO:] arguments:::::: "/Applications/HBuilderX.app/Contents/MacOS/HBuilderX"
2024-04-08 11:54:02.173 [INFO:] apr_initialize.
2024-04-08 11:54:02.174 [INFO:] apr_initialize end.
2024-04-08 11:54:02.174 [INFO:] !SESSION_START ====================================
2024-04-08 11:54:02.174 [INFO:] [main_start] : 226
2024-04-08 11:54:02.174 [INFO:] Print app info:
2024-04-08 11:54:02.174 [INFO:] pwd ==== "/Applications/HBuilderX.app/Contents/HBuilderX"
2024-04-08 11:54:02.174 [INFO:] App Version ==== "4.08.2024040127"
2024-04-08 11:54:02.174 [INFO:] AppDataPath ==== "/Users/zhangwei/Library/Application Support/HBuilder X"
2024-04-08 11:54:02.174 [INFO:] QLibraryInfo::DataPath ==== "/Applications/HBuilderX.app/Contents"
2024-04-08 11:54:02.174 [INFO:] QLibraryInfo::TranslationsPath ==== "/Applications/HBuilderX.app/Contents/translations"
2024-04-08 11:54:02.175 [INFO:] QLibraryInfo::LibraryExecutablesPath ==== "/Applications/HBuilderX.app/Contents/libexec"
2024-04-08 11:54:02.175 [INFO:] init services
2024-04-08 11:54:02.181 [INFO:] install i18n.
2024-04-08 11:54:02.230 [INFO:] pluginJsonPath: "/Applications/HBuilderX.app/Contents/HBuilderX/plugins/hx-language-pack-zh-cn/package.json"
2024-04-08 11:54:02.248 [INFO:] load builtin modules and plugins.
2024-04-08 11:54:02.266 [INFO:] pluginJsonPath: "/Applications/HBuilderX.app/Contents/HBuilderX/plugins/theme-default/package.json"
2024-04-08 11:54:02.287 [INFO:] init workbenchwindow.
2024-04-08 11:54:02.363 [WARNING:] This menu already belongs to the menubar, remove it first
2024-04-08 11:54:02.368 [WARNING:] This menu already belongs to the menubar, remove it first
2024-04-08 11:54:02.368 [WARNING:] This menu already belongs to the menubar, remove it first
2024-04-08 11:54:02.369 [WARNING:] This menu already belongs to the menubar, remove it first
2024-04-08 11:54:02.369 [WARNING:] This menu already belongs to the menubar, remove it first
2024-04-08 11:54:02.370 [WARNING:] This menu already belongs to the menubar, remove it first
2024-04-08 11:54:02.370 [WARNING:] This menu already belongs to the menubar, remove it first
2024-04-08 11:54:02.371 [WARNING:] This menu already belongs to the menubar, remove it first
2024-04-08 11:54:02.371 [WARNING:] This menu already belongs to the menubar, remove it first
2024-04-08 11:54:02.372 [WARNING:] This menu already belongs to the menubar, remove it first
2024-04-08 11:54:02.372 [WARNING:] This menu already belongs to the menubar, remove it first
2024-04-08 11:54:02.439 [WARNING:] [Expression] "Unsupport Expr : screenHeight"
2024-04-08 11:54:02.743 [WARNING:] QObject::connect: Cannot connect QAction::triggered(bool) to SashEdit::(null)
2024-04-08 11:54:02.747 [WARNING:] The themable icon was repeated: "welcome_page_logo" .
2024-04-08 11:54:02.747 [INFO:] restore uistate.
2024-04-08 11:54:02.775 [INFO:] open workbenchwindow.
2024-04-08 11:54:02.775 [INFO:] WorkbenchPage::onPreWindowOpen
2024-04-08 11:54:02.795 [INFO:] enter main loop.
2024-04-08 11:54:02.966 [INFO:] Start Elapsed Time : "1018"
2024-04-08 11:54:02.967 [INFO:] emit postWindowOpen.
2024-04-08 11:54:03.039 [WARNING:] QObject::connect: signal not found in WorkbenchWindow
2024-04-08 11:54:03.049 [WARNING:] Could not parse stylesheet of object QTreeView(0x600003066130, name = "tree")
2024-04-08 11:54:03.050 [WARNING:] Could not parse stylesheet of object QTreeView(0x600003066130, name = "tree")
2024-04-08 11:54:03.095 [WARNING:] Could not parse stylesheet of object QTreeView(0x600003066130, name = "tree")
2024-04-08 11:54:03.161 [INFO:] pluginJsonPath: "/Applications/HBuilderX.app/Contents/HBuilderX/plugins/about/package.json"
2024-04-08 11:54:03.164 [INFO:] pluginJsonPath: "/Applications/HBuilderX.app/Contents/HBuilderX/plugins/akamud.vscode-theme-onedark-2.1.0/package.json"
2024-04-08 11:54:03.167 [INFO:] pluginJsonPath: "/Applications/HBuilderX.app/Contents/HBuilderX/plugins/builtinbrowser/package.json"
2024-04-08 11:54:03.171 [INFO:] pluginJsonPath: "/Applications/HBuilderX.app/Contents/HBuilderX/plugins/builtinterminal/package.json"
2024-04-08 11:54:03.174 [INFO:] pluginJsonPath: "/Applications/HBuilderX.app/Contents/HBuilderX/plugins/chrome-base/package.json"
2024-04-08 11:54:03.177 [INFO:] pluginJsonPath: "/Applications/HBuilderX.app/Contents/HBuilderX/plugins/codechina_proxy/package.json"
2024-04-08 11:54:03.180 [INFO:] pluginJsonPath: "/Applications/HBuilderX.app/Contents/HBuilderX/plugins/css/package.json"
2024-04-08 11:54:03.205 [WARNING:] [PluginManager] The plugin [ "css" ] contribute snippet with langId: "nss" was not exist.
2024-04-08 11:54:03.232 [INFO:] pluginJsonPath: "/Applications/HBuilderX.app/Contents/HBuilderX/plugins/extension-development/package.json"
2024-04-08 11:54:03.235 [INFO:] pluginJsonPath: "/Applications/HBuilderX.app/Contents/HBuilderX/plugins/flyingBook-Extension/package.json"
2024-04-08 11:54:03.238 [INFO:] pluginJsonPath: "/Applications/HBuilderX.app/Contents/HBuilderX/plugins/format/package.json"
2024-04-08 11:54:03.242 [INFO:] pluginJsonPath: "/Applications/HBuilderX.app/Contents/HBuilderX/plugins/h5-Extension/package.json"
2024-04-08 11:54:03.246 [INFO:] pluginJsonPath: "/Applications/HBuilderX.app/Contents/HBuilderX/plugins/hbuilderx-issue-reporter/package.json"
2024-04-08 11:54:03.249 [INFO:] pluginJsonPath: "/Applications/HBuilderX.app/Contents/HBuilderX/plugins/hbuilderx-language-services/package.json"
2024-04-08 11:54:03.256 [INFO:] pluginJsonPath: "/Applications/HBuilderX.app/Contents/HBuilderX/plugins/hbuilderx-node-debug-proxy/package.json"
2024-04-08 11:54:03.260 [INFO:] pluginJsonPath: "/Applications/HBuilderX.app/Contents/HBuilderX/plugins/hbuilderx-presets/package.json"
2024-04-08 11:54:03.268 [INFO:] pluginJsonPath: "/Applications/HBuilderX.app/Contents/HBuilderX/plugins/hbuilderx-update/package.json"
2024-04-08 11:54:03.273 [INFO:] pluginJsonPath: "/Applications/HBuilderX.app/Contents/HBuilderX/plugins/html/package.json"
2024-04-08 11:54:03.295 [WARNING:] [PluginManager] The plugin [ "html" ] contribute snippet with langId: "nml" was not exist.
2024-04-08 11:54:03.298 [WARNING:] [PluginManager] The plugin [ "html" ] contribute snippet with langId: "ux" was not exist.
2024-04-08 11:54:03.320 [WARNING:] [PluginManager] The plugin [ "html" ] contribute snippet with langId: "pug" was not exist.
2024-04-08 11:54:03.326 [WARNING:] [PluginManager] The plugin [ "html" ] contribute snippet with langId: "pug" was not exist.
2024-04-08 11:54:03.326 [INFO:] pluginJsonPath: "/Applications/HBuilderX.app/Contents/HBuilderX/plugins/hx-language-pack-en/package.json"
2024-04-08 11:54:03.330 [INFO:] pluginJsonPath: "/Applications/HBuilderX.app/Contents/HBuilderX/plugins/hx-language-pack-zh-cn/package.json"
2024-04-08 11:54:03.331 [INFO:] pluginJsonPath: "/Applications/HBuilderX.app/Contents/HBuilderX/plugins/javascript/package.json"
2024-04-08 11:54:03.359 [INFO:] pluginJsonPath: "/Applications/HBuilderX.app/Contents/HBuilderX/plugins/jshint/package.json"
2024-04-08 11:54:03.362 [INFO:] pluginJsonPath: "/Applications/HBuilderX.app/Contents/HBuilderX/plugins/json/package.json"
2024-04-08 11:54:03.369 [INFO:] pluginJsonPath: "/Applications/HBuilderX.app/Contents/HBuilderX/plugins/node/package.json"
2024-04-08 11:54:03.372 [INFO:] pluginJsonPath: "/Applications/HBuilderX.app/Contents/HBuilderX/plugins/nodeserver/package.json"
2024-04-08 11:54:03.375 [INFO:] pluginJsonPath: "/Applications/HBuilderX.app/Contents/HBuilderX/plugins/npm/package.json"
2024-04-08 11:54:03.378 [INFO:] pluginJsonPath: "/Applications/HBuilderX.app/Contents/HBuilderX/plugins/plugin-manager/package.json"
2024-04-08 11:54:03.380 [WARNING:] QString::arg: 1 argument(s) missing in 无法解析%2中的符号“%2”:%3
2024-04-08 11:54:03.380 [WARNING:] QString::arg: 1 argument(s) missing in 无法解析%2中的符号“%2”:%3
2024-04-08 11:54:03.380 [WARNING:] QString::arg: 1 argument(s) missing in 无法解析%2中的符号“%2”:%3
2024-04-08 11:54:03.380 [INFO:] pluginJsonPath: "/Applications/HBuilderX.app/Contents/HBuilderX/plugins/pm/package.json"
2024-04-08 11:54:03.383 [INFO:] pluginJsonPath: "/Applications/HBuilderX.app/Contents/HBuilderX/plugins/qtwebengine/package.json"
2024-04-08 11:54:03.386 [INFO:] pluginJsonPath: "/Applications/HBuilderX.app/Contents/HBuilderX/plugins/ripgrep/package.json"
2024-04-08 11:54:03.389 [INFO:] pluginJsonPath: "/Applications/HBuilderX.app/Contents/HBuilderX/plugins/schema2code_proxy/package.json"
2024-04-08 11:54:03.391 [INFO:] pluginJsonPath: "/Applications/HBuilderX.app/Contents/HBuilderX/plugins/snippet/package.json"
2024-04-08 11:54:03.395 [INFO:] pluginJsonPath: "/Applications/HBuilderX.app/Contents/HBuilderX/plugins/templates/package.json"
2024-04-08 11:54:03.398 [INFO:]
2024-04-08 11:54:03.398 [INFO:] pluginJsonPath: "/Applications/HBuilderX.app/Contents/HBuilderX/plugins/theme-icons-default/package.json"
2024-04-08 11:54:03.401 [INFO:] pluginJsonPath: "/Applications/HBuilderX.app/Contents/HBuilderX/plugins/theme-icons-default-colorful/package.json"
2024-04-08 11:54:03.404 [INFO:] pluginJsonPath: "/Applications/HBuilderX.app/Contents/HBuilderX/plugins/theme-seti/package.json"
2024-04-08 11:54:03.407 [INFO:] pluginJsonPath: "/Applications/HBuilderX.app/Contents/HBuilderX/plugins/theme-vsode/package.json"
2024-04-08 11:54:03.410 [INFO:] pluginJsonPath: "/Applications/HBuilderX.app/Contents/HBuilderX/plugins/uni_helpers/package.json"
2024-04-08 11:54:03.413 [INFO:] pluginJsonPath: "/Applications/HBuilderX.app/Contents/HBuilderX/plugins/uni_modules/package.json"
2024-04-08 11:54:03.416 [INFO:] pluginJsonPath: "/Applications/HBuilderX.app/Contents/HBuilderX/plugins/uni_modules_proxy/package.json"
2024-04-08 11:54:03.419 [INFO:] pluginJsonPath: "/Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-basic/package.json"
2024-04-08 11:54:03.422 [INFO:] pluginJsonPath: "/Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli-vite/package.json"
2024-04-08 11:54:03.425 [INFO:] pluginJsonPath: "/Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-extension/package.json"
2024-04-08 11:54:03.429 [INFO:] pluginJsonPath: "/Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-uts-v1/package.json"
2024-04-08 11:54:03.431 [INFO:] pluginJsonPath: "/Applications/HBuilderX.app/Contents/HBuilderX/plugins/unicloud/package.json"
2024-04-08 11:54:03.436 [INFO:] pluginJsonPath: "/Applications/HBuilderX.app/Contents/HBuilderX/plugins/unicloud_proxy/package.json"
2024-04-08 11:54:03.440 [INFO:] pluginJsonPath: "/Applications/HBuilderX.app/Contents/HBuilderX/plugins/update_plugin/package.json"
2024-04-08 11:54:03.443 [INFO:] pluginJsonPath: "/Applications/HBuilderX.app/Contents/HBuilderX/plugins/uts-development-proxy/package.json"
2024-04-08 11:54:03.447 [INFO:] pluginJsonPath: "/Applications/HBuilderX.app/Contents/HBuilderX/plugins/uts-language/package.json"
2024-04-08 11:54:03.453 [INFO:] [PluginHost] start plugin host ...
2024-04-08 11:54:03.542 [INFO:] QLocalServer's newConnection(PluignHost) is coming.
2024-04-08 11:54:03.542 [INFO:] pluign host start successed!
2024-04-08 11:54:03.608 [INFO:] [PluginHost] Plugin host started successed!
2024-04-08 11:54:03.616 [WARNING:] Can't find singleton object : "16ILanguageService"
2024-04-08 11:54:03.616 [WARNING:] Can't find singleton object : "22ILanguageConfiguration"
2024-04-08 11:54:03.617 [INFO:] =========================================cost 457
2024-04-08 11:54:03.617 [INFO:] [PluginHost] 正在激活插件hbuilderx-language-services...
2024-04-08 11:54:03.617 [INFO:] find Node.js Path: "/Applications/HBuilderX.app/Contents/HBuilderX/plugins/node/node"
2024-04-08 11:54:03.617 [INFO:] [Update] do check update...
2024-04-08 11:54:03.618 [WARNING:] QObject: Cannot create children for a parent that is in a different thread.
(Parent is BuiltinNativePlugin(0x7fb10c7b85d0), parent's thread is QThread(0x600003edd220), current thread is QThread(0x600003eac1b0)
2024-04-08 11:54:03.619 [WARNING:] QObject: Cannot create children for a parent that is in a different thread.
(Parent is BuiltinNativePlugin(0x7fb10d3e1c50), parent's thread is QThread(0x600003edd220), current thread is QThread(0x600003eac1b0)
2024-04-08 11:54:03.630 [WARNING:] QObject::moveToThread: Current thread (0x600003eac1b0) is not the object's thread (0x600003edd220).
Cannot move to target thread (0x600003eac1b0)

2024-04-08 11:54:03.631 [WARNING:] You might be loading two sets of Qt binaries into the same process. Check that all plugins are compiled against the right Qt binaries. Export DYLD_PRINT_LIBRARIES=1 and check that only one set of binaries are being loaded.
2024-04-08 11:54:03.631 [WARNING:] QObject::setParent: Cannot set parent, new parent is in a different thread
2024-04-08 11:54:03.971 [INFO:] [PluginHost] 插件hbuilderx-language-services激活成功。
2024-04-08 11:54:03.971 [INFO:] [PluginHost] 正在激活插件uniapp-basic...
2024-04-08 11:54:04.183 [INFO:] User logged in
2024-04-08 11:54:04.246 [INFO:] [PluginHost] 插件uniapp-basic激活成功。
2024-04-08 11:54:04.246 [INFO:] [PluginHost] 正在激活插件format...
2024-04-08 11:54:04.271 [INFO:] [PluginHost] 插件format激活成功。
2024-04-08 11:54:04.272 [INFO:] [PluginHost] 正在激活插件uni_modules...
2024-04-08 11:54:04.283 [INFO:] [PluginHost] 插件uni_modules激活成功。
2024-04-08 11:54:04.283 [INFO:] [PluginHost] 正在激活插件extension-development...
2024-04-08 11:54:04.297 [INFO:] [PluginHost] 插件extension-development激活成功。
2024-04-08 11:54:04.298 [INFO:] [PluginHost] 正在激活插件chrome-base...
2024-04-08 11:54:04.316 [INFO:] [PluginHost] 插件chrome-base激活成功。
2024-04-08 11:54:04.316 [INFO:] [PluginHost] 正在激活插件uts-development-proxy...
2024-04-08 11:54:04.319 [INFO:] [PluginHost] 插件uts-development-proxy激活成功。
2024-04-08 11:54:04.321 [INFO:] [PluginHost] 正在激活插件unicloud...
2024-04-08 11:54:04.466 [INFO:] [PluginHost] 插件unicloud激活成功。
2024-04-08 11:54:04.466 [INFO:] [PluginHost] 正在激活插件nodeserver...
2024-04-08 11:54:04.475 [INFO:] [PluginHost] 插件nodeserver激活成功。
2024-04-08 11:54:04.479 [INFO:] [PluginHost] 正在激活插件uniapp-extension...
2024-04-08 11:54:04.605 [INFO:] [PluginHost] 插件uniapp-extension激活成功。
2024-04-08 11:54:04.605 [INFO:] [PluginHost] 正在激活插件unicloud_proxy...
2024-04-08 11:54:04.611 [INFO:] [PluginHost] 插件unicloud_proxy激活成功。
2024-04-08 11:54:04.612 [INFO:] [PluginHost] 正在激活插件hbuilderx-issue-reporter...
2024-04-08 11:54:04.619 [INFO:] (checkupdate) getjson: "https://update.liuyingyong.cn/hbuilderx/alpha/macosx/update/index.json?tmp=42844619"
2024-04-08 11:54:04.644 [INFO:] [PluginHost] 插件hbuilderx-issue-reporter激活成功。
2024-04-08 11:54:04.961 [INFO:] (checkupdate) [index.json is valid] getjson: "https://update.liuyingyong.cn/hbuilderx/alpha/macosx/update/index.json?tmp=42844619"
2024-04-08 11:54:04.975 [INFO:] (checkupdate isplugin) compare newver( 4.8.2024040127 ) nowVersion( 4.8.2024040127 )
2024-04-08 11:54:04.975 [INFO:] (checkupdate) updaterequests is empty
2024-04-08 11:54:04.975 [INFO:] (checkupdate) clear "/Applications/HBuilderX.app/Contents/HBuilderX/update/patch"
2024-04-08 11:54:04.975 [INFO:] (checkupdate) clear "/Applications/HBuilderX.app/Contents/HBuilderX/update/patch.tmp"
2024-04-08 11:54:04.975 [INFO:] (checkupdate) report noupdate
2024-04-08 11:54:04.975 [INFO:] [Update] No update.
2024-04-08 11:54:04.977 [INFO:] Upgrade::canFallback::check( "/Applications/HBuilderX.app/Contents/HBuilderX/update/backup/root/hbuilder.root" ) exits?
2024-04-08 11:54:04.978 [INFO:] Upgrade::canFallback::check return false
2024-04-08 11:54:08.620 [INFO:] Local Mac: "AC:DE:48:00:11:22,38:F9:D3:DE:CF:44,82:40:C8:C1:24:00,82:40:C8:C1:24:01,82:40:C8:C1:24:05,82:40:C8:C1:24:04,9E:AB:2B:55:45:CD,9E:AB:2B:55:45:CD,82:40:C8:C1:24:01,,,,,,,,4E:E6:C0:C7:F6:7F,CE:6E:CD:75:A5:E5"

2024-04-08 11:59 负责人:无 分享
已邀请:

要回复问题请先登录注册