HBuilderX3.8导入3.7版本的旧项目,运行到Android基座,修改某个vue文件的代码,HBuilderX开始差量编译
- 发布:2023-06-14 09:08
- 更新:2023-09-30 17:39
- 阅读:713
产品分类: uniapp/App
PC开发环境操作系统: Mac
PC开发环境操作系统版本号: 13.4 (22F66)
HBuilderX类型: 正式
HBuilderX版本号: 3.8.4
手机系统: Android
手机系统版本号: Android 14
手机厂商: 小米
手机机型: Mix4
页面类型: vue
vue版本: vue3
打包方式: 云端
项目创建方式: HBuilderX
操作步骤:
预期结果:
差量编译完成,代码同步到基座
差量编译完成,代码同步到基座
实际结果:
停在了”开始差量编译...“这个提示上
停在了”开始差量编译...“这个提示上
bug描述:
我的项目是个旧项目,一直使用3.7版本没有任何问题。但是当我将HBuilderX版本从3.7.11版本升级到3.8.3以及3.8.4后,这两个3.8版都有一个问题,就是运行到android基座后,卡差量编译,只要有差量编译,就停在”开始差量编译...“这个提示上。我将HBuilderX从3.8降级到3.7,一切变得正常。我重新安装了一个遍3.8,仍然卡”差量编译“。
下面是日志部分,日志显示编译崩溃。
2023-06-14 08:53:38.822 [INFO:] Local Mac: "AC:DE:48:00:11:22,82:82:2A:C5:0C:01,82:82:2A:C5:0C:00,82:82:2A:C5:0C:05,82:82:2A:C5:0C:04,82:82:2A:C5:0C:01,F8:FF:C2:2B:41:CF,42:B1:D3:34:6F:FE,42:B1:D3:34:6F:FE,,,,,,96:F6:D6:6F:28:EE,1E:94:F3:A5:DC:24"
2023-06-14 08:54:30.719 [INFO:] mFilePath: "/Users/abc/Documents/HBuilderProjects/uni-admin2.1.9" --mode: 0
2023-06-14 08:54:43.351 [INFO:] User logged in
2023-06-14 08:54:46.839 [INFO:] mFilePath: "/Users/abcuser/Documents/HBuilderProjects/uni-admin2.1.9/uniCloud-aliyun" --mode: 0
2023-06-14 08:54:48.591 [INFO:] mFilePath: "/Users/abcuser/Documents/HBuilderProjects/uni-admin2.1.9/uniCloud-aliyun/database" --mode: 0
2023-06-14 08:54:51.934 [WARNING:] [MENU] !!!Can't find the action id: "ExternalCommand:GIT_PULL"
2023-06-14 08:54:53.620 [WARNING:] QLayout: Cannot add a null widget to QVBoxLayout/
2023-06-14 08:54:53.620 [WARNING:] QLayout: Attempting to add QLayout "" to RelateCloudSpaceDialog "", which already has a layout
2023-06-14 08:54:53.621 [WARNING:] QLayout: Attempting to add QLayout "" to RelateCloudSpaceDialog "", which already has a layout
2023-06-14 08:54:53.628 [WARNING:] QLayout: Attempting to add QLayout "" to RelateCloudSpaceDialog "", which already has a layout
2023-06-14 08:54:58.643 [INFO:] mFilePath: "/Users/abcuser/Documents/HBuilderProjects/XMan" --mode: 0
2023-06-14 08:54:59.532 [INFO:] mFilePath: "/Users/abcuser/Documents/HBuilderProjects/XMan/uniCloud-aliyun" --mode: 0
2023-06-14 08:55:00.127 [WARNING:] [MENU] !!!Can't find the action id: "ExternalCommand:GIT_PULL"
2023-06-14 08:55:00.931 [WARNING:] QLayout: Cannot add a null widget to QVBoxLayout/
2023-06-14 08:55:00.932 [WARNING:] QLayout: Attempting to add QLayout "" to RelateCloudSpaceDialog "", which already has a layout
2023-06-14 08:55:00.933 [WARNING:] QLayout: Attempting to add QLayout "" to RelateCloudSpaceDialog "", which already has a layout
2023-06-14 08:55:00.938 [WARNING:] QLayout: Attempting to add QLayout "" to RelateCloudSpaceDialog "", which already has a layout
2023-06-14 08:55:04.333 [WARNING:] QLayout: Attempting to add QLayout "" to MsgItemWidget "MsgItem", which already has a layout
2023-06-14 08:55:09.759 [INFO:] mFilePath: "/Users/abcuser/Documents/HBuilderProjects/AppManager" --mode: 0
2023-06-14 08:55:11.475 [INFO:] mFilePath: "/Users/abcuser/Documents/HBuilderProjects/XMan" --mode: 0
2023-06-14 08:55:16.605 [INFO:] mFilePath: "/Users/abcuser/Documents/HBuilderProjects/XMan/pages" --mode: 0
2023-06-14 08:55:17.975 [INFO:] mFilePath: "/Users/abcuser/Documents/HBuilderProjects/XMan/pages/ppan" --mode: 0
2023-06-14 08:55:19.210 [WARNING:] "Can't Not Find Grammar text.slm ! "
2023-06-14 08:55:19.210 [WARNING:] "Can't Not Find Grammar text.pug ! "
2023-06-14 08:55:19.210 [WARNING:] "Can't Not Find Grammar text.pug ! "
2023-06-14 08:55:19.216 [WARNING:] "Can't Not Find Grammar source.postcss ! "
2023-06-14 08:55:19.255 [WARNING:] "Can't Not Find Grammar selectors ! "
2023-06-14 08:55:19.261 [WARNING:] "Can't Not Find Grammar source.coffee ! "
2023-06-14 08:55:19.261 [WARNING:] "Can't Not Find Grammar source.livescript ! "
2023-06-14 08:55:19.377 [WARNING:] QLayout: Attempting to add QLayout "" to MsgItemWidget "MsgItem", which already has a layout
2023-06-14 08:55:22.765 [WARNING:] QLayout: Cannot add a null widget to QVBoxLayout/
2023-06-14 08:55:22.766 [WARNING:] QLayout: Attempting to add QLayout "" to ExtFormDialog "", which already has a layout
2023-06-14 08:55:22.766 [WARNING:] QLayout: Attempting to add QLayout "" to ExtFormDialog "", which already has a layout
2023-06-14 08:55:25.880 [WARNING:] [PluginHost] refreshListData: QJsonValue(object, QJsonObject({"checkedBaseIndex":1,"code":1,"device":{"name":"34269b7","platform":"android","runState":0,"runStateStr":"","udid":"34269b7","version":"13"},"env":{"HX_DEPENDENCIES_DIR":"/Users/abcuser/Documents/HBuilderProjects/XMan/unpackage/cache/uts_standard_android"},"userData":{"checkedBaseIndex":1,"cli":false,"platform":"android","runningDevices":[],"workspaceFolder":{"id":"{30bb9d05-49bb-4213-b122-506b1365cfc6}","name":"XMan","nature":"UniApp_Vue","uri":{"$mid":1,"external":"file:///Users/abcuser/Documents/HBuilderProjects/XMan","fsPath":"/Users/abcuser/Documents/HBuilderProjects/XMan","path":"/Users/abcuser/Documents/HBuilderProjects/XMan","scheme":"file"}}}}))
2023-06-14 08:55:25.880 [INFO:] [PluginHost] 正在激活插件uniapp-extension...
2023-06-14 08:55:26.017 [INFO:] [PluginHost] 插件uniapp-extension激活成功。
2023-06-14 08:55:26.544 [WARNING:] QLayout: Attempting to add QLayout "" to QWidget "", which already has a layout
2023-06-14 08:55:26.544 [WARNING:] QLayout: Attempting to add QLayout "" to QWidget "", which already has a layout
2023-06-14 08:55:27.280 [INFO:] node "/Applications/HBuilderX.app/Contents/HBuilderX/plugins/node/node"
2023-06-14 08:55:27.280 [INFO:] args ("--max-old-space-size=2048", "--no-warnings", "/Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli-vite/node_modules/@dcloudio/vite-plugin-uni/bin/uni.js", "-p", "app")
2023-06-14 08:55:38.232 [INFO:] Download plugin "compile-dart-sass"
2023-06-14 08:55:38.452 [WARNING:] http request: QUrl("http://update.liuyingyong.cn/hbuilderx/alpha/macosx/plugins//index.json?tmp=32138234") , connect to server error, errorCode: QNetworkReply::ContentNotFoundError , httpCode: 404 , httpReason: "Not Found"
2023-06-14 08:55:39.050 [INFO:] queue unzip : (QPair("/Applications/HBuilderX.app/Contents/HBuilderX/update/plugins/compile-dart-sass.zip",QJsonObject({"extensionDependencies":["npm"],"md5":"","name":"compile-dart-sass","requireMainVersion":"3.2.6","root":false,"url":"cdn","version":"0.0.3"})))
2023-06-14 08:55:39.050 [INFO:] Unpack plugin "compile-dart-sass"
2023-06-14 08:55:39.100 [INFO:] try move "/Applications/HBuilderX.app/Contents/HBuilderX/update/plugins/compile-dart-sass.zip.tmp" to "/Applications/HBuilderX.app/Contents/HBuilderX/plugins/compile-dart-sass"
2023-06-14 08:55:39.100 [INFO:] move result: true
2023-06-14 08:55:39.101 [INFO:] pluginJsonPath: "/Applications/HBuilderX.app/Contents/HBuilderX/plugins/compile-dart-sass/package.json"
2023-06-14 08:55:39.105 [WARNING:] QLayout: Attempting to add QLayout "" to MsgItemWidget "MsgItem", which already has a layout
2023-06-14 08:55:39.105 [INFO:] Plugin "compile-dart-sass" has been successfully installed
2023-06-14 08:55:39.106 [INFO:] endWatcher: pluginName: "compile-dart-sass" path: "/Applications/HBuilderX.app/Contents/HBuilderX/plugins/compile-dart-sass" thread: 123145326698496
2023-06-14 08:55:39.106 [INFO:] QObject::destroyed state 0
2023-06-14 08:55:39.248 [WARNING:] uniapp compiled errorOccurred====== "进程已崩溃"
2023-06-14 08:55:40.105 [INFO:] node "/Applications/HBuilderX.app/Contents/HBuilderX/plugins/node/node"
2023-06-14 08:55:40.105 [INFO:] args ("--max-old-space-size=2048", "--no-warnings", "/Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli-vite/node_modules/@dcloudio/vite-plugin-uni/bin/uni.js", "-p", "app")
2023-06-14 08:56:06.508 [WARNING:] QObject::setParent: Cannot set parent, new parent is in a different thread
7***@qq.com
+1 一样的问题
2023-08-10 19:18