更新到3.4.18后打包提示下载[App云打包]插件但是一直下载失败,点重试也没用,看日志显示插件不存在.
2022-07-10 12:10:56.332 [INFO:] json:: "{\n \"desc\": \"插件不存在\",\n \"ret\": 1001\n}\n"
2022-07-10 12:10:56.546 [INFO:] Download plugin "app-safe-pack"
2022-07-10 12:10:56.547 [INFO:] D:/software_installation/HBuilderX/plugins/node/node.exe D:/software_installation/HBuilderX/plugins/npm/node_modules/npm/bin/npm-cli.js install hbuilderx-plugin-app-safe-pack@1.1.15-2022062217 --scripts-prepend-node-path=auto --registry http://registry.npm.taobao.org
2022-07-10 12:10:56.547 [INFO:] npminstall_path "D:/software_installation/HBuilderX/update/plugins/hbuilderx-plugin-app-safe-pack"
2022-07-10 12:10:57.615 [INFO:] plugin [ "hbuilderx-plugin-app-safe-pack" ] install Output::: "+ hbuilderx-plugin-app-safe-pack@1.1.15-2022062217"
2022-07-10 12:10:57.616 [INFO:] plugin [ "hbuilderx-plugin-app-safe-pack" ] install Output::: "added 1 package from 1 contributor in 0.489s"
2022-07-10 12:10:57.618 [INFO:] plugin [ "hbuilderx-plugin-app-safe-pack" ] install Output::: ""
2022-07-10 12:10:57.619 [WARNING:] plugin [ "hbuilderx-plugin-app-safe-pack" ] install warning::: "npm WARN saveError ENOENT: no such file or directory, open 'D:\software_installation\HBuilderX\update\plugins\hbuilderx-plugin-app-safe-pack\package.json'"
2022-07-10 12:10:57.619 [WARNING:] plugin [ "hbuilderx-plugin-app-safe-pack" ] install warning::: "npm notice created a lockfile as package-lock.json. You should commit this file."
2022-07-10 12:10:57.619 [WARNING:] plugin [ "hbuilderx-plugin-app-safe-pack" ] install warning::: "npm WARN enoent ENOENT: no such file or directory, open 'D:\software_installation\HBuilderX\update\plugins\hbuilderx-plugin-app-safe-pack\package.json'"
2022-07-10 12:10:57.620 [WARNING:] plugin [ "hbuilderx-plugin-app-safe-pack" ] install warning::: "npm WARN hbuilderx-plugin-app-safe-pack No description"
2022-07-10 12:10:57.620 [WARNING:] plugin [ "hbuilderx-plugin-app-safe-pack" ] install warning::: "npm WARN hbuilderx-plugin-app-safe-pack No repository field."
2022-07-10 12:10:57.621 [WARNING:] plugin [ "hbuilderx-plugin-app-safe-pack" ] install warning::: "npm WARN hbuilderx-plugin-app-safe-pack No README data"
2022-07-10 12:10:57.621 [WARNING:] plugin [ "hbuilderx-plugin-app-safe-pack" ] install warning::: "npm WARN hbuilderx-plugin-app-safe-pack No license field."
2022-07-10 12:10:57.622 [WARNING:] plugin [ "hbuilderx-plugin-app-safe-pack" ] install warning::: ""
2022-07-10 12:10:57.622 [WARNING:] plugin [ "hbuilderx-plugin-app-safe-pack" ] install warning::: ""
2022-07-10 12:10:57.622 [INFO:] pluginJsonPath: "D:/software_installation/HBuilderX/update/plugins/hbuilderx-plugin-app-safe-pack/node_modules/hbuilderx-plugin-app-safe-pack/package.json"
2022-07-10 12:10:57.638 [INFO:] queue unzip : (QPair("D:/software_installation/HBuilderX/update/plugins/app-safe-pack.zip",QJsonObject({"extensionDependencies":["plugin-manager"],"md5":"abbfad5ebec6e8b67830bae743b33a79","name":"app-safe-pack","npmName":"hbuilderx-plugin-app-safe-pack","npmVersion":"1.1.15-2022062217","requireMainVersion":"3.4.10","root":false,"version":"1.1.15.2022062217"})))
2022-07-10 12:10:57.639 [INFO:] Unpack plugin "app-safe-pack"
2022-07-10 12:10:57.741 [INFO:] try move "D:/software_installation/HBuilderX/update/plugins/app-safe-pack.zip.tmp" to "D:/software_installation/HBuilderX/plugins/app-safe-pack"
2022-07-10 12:10:57.742 [INFO:] move result: false
2022-07-10 12:10:57.742 [INFO:] Plugin "app-safe-pack" has been installed failed
2022-07-10 12:10:57.742 [INFO:] Plugin "app-safe-pack" has been installed failed
2022-07-10 12:10:57.751 [WARNING:] QLayout: Attempting to add QLayout "" to MsgItemWidget "MsgItem", which already has a layout
2022-07-10 12:10:57.766 [INFO:] endWatcher: pluginName: "app-safe-pack" path: "D:/software_installation/HBuilderX/plugins/app-safe-pack" thread: 14800
2022-07-10 12:10:57.767 [INFO:] QObject::destroyed state 4
2022-07-10 12:12:40.214 [WARNING:] [Expression] "Unsupport Expr : RefDocSupport"
2022-07-10 12:12:40.220 [WARNING:] [MENU] !!!Can't find the action id: "unicloud.localRunOrStop"
1 个回复
BoredApe - 有问题就会有答案。
请升级HBuilder X到最新版v3.5.1