环境:
- mac m1pro
- hbuildx: 4.87
问题:
mac-arm64-hbuilderx-plugin-launcher 这个依赖会报 404,导致插件无法下载,求助。
日志:
2025-12-27 13:31:49.936 [INFO:] PluginInstall setInstallText: "launcher" --- 1 :: "正在下载"
2025-12-27 13:31:51.734 [INFO:] (startdownload "launcher" )
2025-12-27 13:31:51.734 [INFO:] (startdownload "launcher" ) get json: "https://update.liuyingyong.cn/hbuilderx/upgrade_repositories/4.87.2025121004/macosx-arm64/plugins/index.json"
2025-12-27 13:31:52.090 [INFO:] (startdownload "launcher" ) get json: "https://update.liuyingyong.cn/hbuilderx/marketplace/plugin.json"
2025-12-27 13:31:53.351 [INFO:] (startdownload "launcher" ) get json: "https://update.liuyingyong.cn/hbuilderx/upgrade_repositories/4.87.2025121004/macosx-arm64/update/index.json"
2025-12-27 13:31:53.961 [INFO:] (startdownload "launcher" ) downloadpluginzipfromindex
2025-12-27 13:31:53.961 [INFO:] (downloadpluginzipfromindex "launcher" ) set state to downloading
2025-12-27 13:31:53.961 [INFO:] (downloadpluginzipfromindex "launcher" ) make path: "/Applications/HBuilderX.app/Contents/HBuilderX/update/plugins/"
2025-12-27 13:31:53.961 [INFO:] (downloadpluginzipfromindex "launcher" ) download extenstiondependencies
2025-12-27 13:31:53.961 [INFO:] (downloadpluginzipfromindex "launcher" ) get "launcher-tools" state = 3
2025-12-27 13:31:53.961 [INFO:] (downloadpluginzipfromindex "launcher" ) download dependency "launcher-tools"
2025-12-27 13:31:53.961 [INFO:] (downloadpluginzipfromindex "launcher" ) download zip from index "launcher-tools"
2025-12-27 13:31:53.962 [INFO:] (downloadpluginzipfromindex "launcher-tools" ) set state to downloading
2025-12-27 13:31:53.962 [INFO:] (downloadpluginzipfromindex "launcher-tools" ) make path: "/Applications/HBuilderX.app/Contents/HBuilderX/update/plugins/"
2025-12-27 13:31:53.962 [INFO:] (downloadpluginzipfromindex "launcher-tools" ) download extenstiondependencies
2025-12-27 13:31:53.962 [INFO:] (downloadpluginzipfromindex "launcher-tools" ) get "npm" state = 0
2025-12-27 13:31:53.962 [INFO:] Download plugin "launcher-tools"
2025-12-27 13:31:53.962 [INFO:] (downloadpluginzipfromindex "launcher-tools" ) ismarket?: false
2025-12-27 13:31:53.962 [INFO:] (downloadpluginzipfromindex "launcher-tools" ) use "https://update.liuyingyong.cn/hbuilderx/upgrade_repositories/4.87.2025121004/macosx-arm64/plugins/contents/launcher-tools.1.0.3.2025080811.zip"
2025-12-27 13:31:53.962 [INFO:] (downloadpluginzipfromindex "launcher-tools" npm: true ) make dir: "/Applications/HBuilderX.app/Contents/HBuilderX/update/plugins/mac-arm64-hbuilderx-plugin-launcher-tools"
2025-12-27 13:31:53.963 [INFO:] /Applications/HBuilderX.app/Contents/HBuilderX/plugins/node/node /Applications/HBuilderX.app/Contents/HBuilderX/plugins/npm/node_modules/npm/bin/npm-cli.js install mac-arm64-hbuilderx-plugin-launcher-tools@1.0.3-2025080811 --scripts-prepend-node-path=auto --registry https://registry.npmmirror.com
2025-12-27 13:31:53.963 [INFO:] npminstall_path "/Applications/HBuilderX.app/Contents/HBuilderX/update/plugins/mac-arm64-hbuilderx-plugin-launcher-tools"
2025-12-27 13:31:54.614 [INFO:] plugin [ "mac-arm64-hbuilderx-plugin-launcher-tools" ] install Output::: ""
2025-12-27 13:31:54.615 [INFO:] plugin [ "mac-arm64-hbuilderx-plugin-launcher-tools" ] install Output::: "added 1 package in 426ms"
2025-12-27 13:31:54.615 [INFO:] plugin [ "mac-arm64-hbuilderx-plugin-launcher-tools" ] install Output::: ""
2025-12-27 13:31:54.618 [INFO:] plugin [ "mac-arm64-hbuilderx-plugin-launcher-tools" ] install errorOccurred::: "\xE8\xBF\x9B\xE7\xA8\x8B\xE5\xB7\xB2\xE5\xB4\xA9\xE6\xBA\x83"
2025-12-27 13:31:54.618 [INFO:] (downloadpluginzipfromindex "launcher-tools" npm: true ) [ true ] npminstallplugin ( "mac-arm64-hbuilderx-plugin-launcher-tools" : "1.0.3-2025080811" ) "/Applications/HBuilderX.app/Contents/HBuilderX/update/plugins/mac-arm64-hbuilderx-plugin-launcher-tools"
2025-12-27 13:31:54.618 [INFO:] pluginJsonPath: "/Applications/HBuilderX.app/Contents/HBuilderX/update/plugins/mac-arm64-hbuilderx-plugin-launcher-tools/node_modules/mac-arm64-hbuilderx-plugin-launcher-tools/package.json"
2025-12-27 13:31:54.619 [INFO:] (downloadpluginzipfromindex "launcher-tools" npm: true ) [ true ] renamenpmpluginzip: "/Applications/HBuilderX.app/Contents/HBuilderX/update/plugins/mac-arm64-hbuilderx-plugin-launcher-tools/node_modules/mac-arm64-hbuilderx-plugin-launcher-tools" , "/Applications/HBuilderX.app/Contents/HBuilderX/update/plugins/launcher-tools.zip.tmp"
2025-12-27 13:31:54.619 [INFO:] (downloadpluginzipfromindex "launcher-tools" npm: true ) remove: "/Applications/HBuilderX.app/Contents/HBuilderX/update/plugins/mac-arm64-hbuilderx-plugin-launcher-tools"
2025-12-27 13:31:54.619 [INFO:] (downloadpluginzipfromindex "launcher-tools" ) rename "/Applications/HBuilderX.app/Contents/HBuilderX/update/plugins/launcher-tools.zip.tmp" to "/Applications/HBuilderX.app/Contents/HBuilderX/update/plugins/launcher-tools.zip"
2025-12-27 13:31:54.620 [INFO:] (downloadpluginzipfromindex "launcher-tools" ) clear "/Applications/HBuilderX.app/Contents/HBuilderX/update/plugins/launcher-tools.zip.tmp"
2025-12-27 13:31:54.620 [INFO:] (downloadpluginzipfromindex "launcher" ) "launcher-tools" state = 1
2025-12-27 13:31:54.620 [INFO:] (downloadpluginzipfromindex "launcher" ) get "node_modules" state = 3
2025-12-27 13:31:54.620 [INFO:] (downloadpluginzipfromindex "launcher" ) download dependency "node_modules"
2025-12-27 13:31:54.620 [INFO:] (downloadpluginzipfromindex "launcher" ) download zip from index "node_modules"
2025-12-27 13:31:54.620 [INFO:] (downloadpluginzipfromindex "node_modules" ) set state to downloading
2025-12-27 13:31:54.620 [INFO:] (downloadpluginzipfromindex "node_modules" ) make path: "/Applications/HBuilderX.app/Contents/HBuilderX/update/plugins/"
2025-12-27 13:31:54.620 [INFO:] (downloadpluginzipfromindex "node_modules" ) download extenstiondependencies
2025-12-27 13:31:54.620 [INFO:] (downloadpluginzipfromindex "node_modules" ) get "node" state = 0
2025-12-27 13:31:54.620 [INFO:] (downloadpluginzipfromindex "node_modules" ) get "npm" state = 0
2025-12-27 13:31:54.620 [INFO:] Download plugin "node_modules"
2025-12-27 13:31:54.620 [INFO:] (downloadpluginzipfromindex "node_modules" ) ismarket?: false
2025-12-27 13:31:54.620 [INFO:] (downloadpluginzipfromindex "node_modules" ) use "https://update.liuyingyong.cn/hbuilderx/upgrade_repositories/4.87.2025121004/macosx-arm64/plugins/contents/node_modules.1.0.0.2022092012.zip"
2025-12-27 13:31:58.974 [INFO:] (download "node_modules" from index) [ true ] download "https://update.liuyingyong.cn/hbuilderx/upgrade_repositories/4.87.2025121004/macosx-arm64/plugins/contents/node_modules.1.0.0.2022092012.zip"
2025-12-27 13:31:58.974 [INFO:] (downloadpluginzipfromindex "node_modules" npm: false ) [ true ] downloadbytype
2025-12-27 13:31:58.974 [INFO:] (downloadpluginzipfromindex "node_modules" ) rename "/Applications/HBuilderX.app/Contents/HBuilderX/update/plugins/node_modules.zip.tmp" to "/Applications/HBuilderX.app/Contents/HBuilderX/update/plugins/node_modules.zip"
2025-12-27 13:31:58.975 [INFO:] (downloadpluginzipfromindex "node_modules" ) clear "/Applications/HBuilderX.app/Contents/HBuilderX/update/plugins/node_modules.zip.tmp"
2025-12-27 13:31:58.975 [INFO:] (downloadpluginzipfromindex "launcher" ) "node_modules" state = 1
2025-12-27 13:31:58.975 [INFO:] (downloadpluginzipfromindex "launcher" ) get "amazon-corretto" state = 3
2025-12-27 13:31:58.975 [INFO:] (downloadpluginzipfromindex "launcher" ) download dependency "amazon-corretto"
2025-12-27 13:31:58.975 [INFO:] (downloadpluginzipfromindex "launcher" ) download zip from index "amazon-corretto"
2025-12-27 13:31:58.975 [INFO:] (downloadpluginzipfromindex "amazon-corretto" ) set state to downloading
2025-12-27 13:31:58.976 [INFO:] (downloadpluginzipfromindex "amazon-corretto" ) make path: "/Applications/HBuilderX.app/Contents/HBuilderX/update/plugins/"
2025-12-27 13:31:58.976 [INFO:] (downloadpluginzipfromindex "amazon-corretto" ) download extenstiondependencies
2025-12-27 13:31:58.976 [INFO:] (downloadpluginzipfromindex "amazon-corretto" ) get "plugin-manager" state = 0
2025-12-27 13:31:58.976 [INFO:] (downloadpluginzipfromindex "amazon-corretto" ) get "npm" state = 0
2025-12-27 13:31:58.976 [INFO:] Download plugin "amazon-corretto"
2025-12-27 13:31:58.976 [INFO:] (downloadpluginzipfromindex "amazon-corretto" ) ismarket?: false
2025-12-27 13:31:58.976 [INFO:] (downloadpluginzipfromindex "amazon-corretto" ) use "https://update.liuyingyong.cn/hbuilderx/upgrade_repositories/4.87.2025121004/macosx-arm64/plugins/contents/amazon-corretto.0.0.6.zip"
2025-12-27 13:31:58.976 [INFO:] (downloadpluginzipfromindex "amazon-corretto" npm: true ) make dir: "/Applications/HBuilderX.app/Contents/HBuilderX/update/plugins/mac-arm64-hbuilderx-plugin-amazon-corretto"
2025-12-27 13:31:58.976 [INFO:] /Applications/HBuilderX.app/Contents/HBuilderX/plugins/node/node /Applications/HBuilderX.app/Contents/HBuilderX/plugins/npm/node_modules/npm/bin/npm-cli.js install mac-arm64-hbuilderx-plugin-amazon-corretto@0.0.6 --scripts-prepend-node-path=auto --registry https://registry.npmmirror.com
2025-12-27 13:31:58.977 [INFO:] npminstall_path "/Applications/HBuilderX.app/Contents/HBuilderX/update/plugins/mac-arm64-hbuilderx-plugin-amazon-corretto"
2025-12-27 13:31:59.751 [INFO:] plugin [ "mac-arm64-hbuilderx-plugin-amazon-corretto" ] install Output::: ""
2025-12-27 13:31:59.751 [INFO:] plugin [ "mac-arm64-hbuilderx-plugin-amazon-corretto" ] install Output::: "added 1 package in 581ms"
2025-12-27 13:31:59.751 [INFO:] plugin [ "mac-arm64-hbuilderx-plugin-amazon-corretto" ] install Output::: ""
2025-12-27 13:31:59.757 [INFO:] plugin [ "mac-arm64-hbuilderx-plugin-amazon-corretto" ] install errorOccurred::: "\xE8\xBF\x9B\xE7\xA8\x8B\xE5\xB7\xB2\xE5\xB4\xA9\xE6\xBA\x83"
2025-12-27 13:31:59.757 [INFO:] (downloadpluginzipfromindex "amazon-corretto" npm: true ) [ true ] npminstallplugin ( "mac-arm64-hbuilderx-plugin-amazon-corretto" : "0.0.6" ) "/Applications/HBuilderX.app/Contents/HBuilderX/update/plugins/mac-arm64-hbuilderx-plugin-amazon-corretto"
2025-12-27 13:31:59.757 [INFO:] pluginJsonPath: "/Applications/HBuilderX.app/Contents/HBuilderX/update/plugins/mac-arm64-hbuilderx-plugin-amazon-corretto/node_modules/mac-arm64-hbuilderx-plugin-amazon-corretto/package.json"
2025-12-27 13:31:59.759 [INFO:] (downloadpluginzipfromindex "amazon-corretto" npm: true ) [ true ] renamenpmpluginzip: "/Applications/HBuilderX.app/Contents/HBuilderX/update/plugins/mac-arm64-hbuilderx-plugin-amazon-corretto/node_modules/mac-arm64-hbuilderx-plugin-amazon-corretto" , "/Applications/HBuilderX.app/Contents/HBuilderX/update/plugins/amazon-corretto.zip.tmp"
2025-12-27 13:31:59.759 [INFO:] (downloadpluginzipfromindex "amazon-corretto" npm: true ) remove: "/Applications/HBuilderX.app/Contents/HBuilderX/update/plugins/mac-arm64-hbuilderx-plugin-amazon-corretto"
2025-12-27 13:31:59.759 [INFO:] (downloadpluginzipfromindex "amazon-corretto" ) rename "/Applications/HBuilderX.app/Contents/HBuilderX/update/plugins/amazon-corretto.zip.tmp" to "/Applications/HBuilderX.app/Contents/HBuilderX/update/plugins/amazon-corretto.zip"
2025-12-27 13:31:59.760 [INFO:] (downloadpluginzipfromindex "amazon-corretto" ) clear "/Applications/HBuilderX.app/Contents/HBuilderX/update/plugins/amazon-corretto.zip.tmp"
2025-12-27 13:31:59.760 [INFO:] (downloadpluginzipfromindex "launcher" ) "amazon-corretto" state = 1
2025-12-27 13:31:59.760 [INFO:] (downloadpluginzipfromindex "launcher" ) get "npm" state = 0
2025-12-27 13:31:59.760 [INFO:] Download plugin "launcher"
2025-12-27 13:31:59.760 [INFO:] (downloadpluginzipfromindex "launcher" ) ismarket?: false
2025-12-27 13:31:59.760 [INFO:] (downloadpluginzipfromindex "launcher" ) use "https://update.liuyingyong.cn/hbuilderx/upgrade_repositories/4.87.2025121004/macosx-arm64/plugins/contents/launcher.4.87.2025120918.5242.zip"
2025-12-27 13:31:59.760 [INFO:] (downloadpluginzipfromindex "launcher" npm: true ) make dir: "/Applications/HBuilderX.app/Contents/HBuilderX/update/plugins/mac-arm64-hbuilderx-plugin-launcher"
2025-12-27 13:31:59.760 [INFO:] /Applications/HBuilderX.app/Contents/HBuilderX/plugins/node/node /Applications/HBuilderX.app/Contents/HBuilderX/plugins/npm/node_modules/npm/bin/npm-cli.js install mac-arm64-hbuilderx-plugin-launcher@4.87.2025120918-5242 --scripts-prepend-node-path=auto --registry https://registry.npmmirror.com
2025-12-27 13:31:59.760 [INFO:] npminstall_path "/Applications/HBuilderX.app/Contents/HBuilderX/update/plugins/mac-arm64-hbuilderx-plugin-launcher"
2025-12-27 13:32:02.223 [WARNING:] plugin [ "mac-arm64-hbuilderx-plugin-launcher" ] install warning::: "npm ERR! "
2025-12-27 13:32:02.223 [WARNING:] plugin [ "mac-arm64-hbuilderx-plugin-launcher" ] install warning::: "code E404"
2025-12-27 13:32:02.224 [WARNING:] plugin [ "mac-arm64-hbuilderx-plugin-launcher" ] install warning::: ""
2025-12-27 13:32:02.225 [WARNING:] plugin [ "mac-arm64-hbuilderx-plugin-launcher" ] install warning::: "npm ERR!"
2025-12-27 13:32:02.225 [WARNING:] plugin [ "mac-arm64-hbuilderx-plugin-launcher" ] install warning::: " "
2025-12-27 13:32:02.225 [WARNING:] plugin [ "mac-arm64-hbuilderx-plugin-launcher" ] install warning::: "404 Not Found - GET https://registry.npmjs.org/mac-arm64-hbuilderx-plugin-launcher - Not found"
2025-12-27 13:32:02.225 [WARNING:] plugin [ "mac-arm64-hbuilderx-plugin-launcher" ] install warning::: ""
2025-12-27 13:32:02.225 [WARNING:] plugin [ "mac-arm64-hbuilderx-plugin-launcher" ] install warning::: "npm ERR! 404 "
2025-12-27 13:32:02.225 [WARNING:] plugin [ "mac-arm64-hbuilderx-plugin-launcher" ] install warning::: "npm ERR!"
2025-12-27 13:32:02.225 [WARNING:] plugin [ "mac-arm64-hbuilderx-plugin-launcher" ] install warning::: " 404 'mac-arm64-hbuilderx-plugin-launcher@4.87.2025120918-5242' is not in this registry."
2025-12-27 13:32:02.225 [WARNING:] plugin [ "mac-arm64-hbuilderx-plugin-launcher" ] install warning::: "npm ERR! 404 "
2025-12-27 13:32:02.225 [WARNING:] plugin [ "mac-arm64-hbuilderx-plugin-launcher" ] install warning::: "npm ERR! 404 Note that you can also install from a"
2025-12-27 13:32:02.225 [WARNING:] plugin [ "mac-arm64-hbuilderx-plugin-launcher" ] install warning::: ""
2025-12-27 13:32:02.225 [WARNING:] plugin [ "mac-arm64-hbuilderx-plugin-launcher" ] install warning::: "npm ERR! 404 tarball, folder, http url, or git url."
2025-12-27 13:32:02.225 [WARNING:] plugin [ "mac-arm64-hbuilderx-plugin-launcher" ] install warning::: ""
2025-12-27 13:32:02.226 [WARNING:] plugin [ "mac-arm64-hbuilderx-plugin-launcher" ] install warning::: ""
2025-12-27 13:32:02.226 [WARNING:] plugin [ "mac-arm64-hbuilderx-plugin-launcher" ] install warning::: ""
2025-12-27 13:32:02.226 [WARNING:] plugin [ "mac-arm64-hbuilderx-plugin-launcher" ] install warning::: "npm ERR! A complete log of this run can be found in: /Users/ddd/.npm/_logs/2025-12-27T05_31_59_923Z-debug-0.log"
2025-12-27 13:32:02.226 [WARNING:] plugin [ "mac-arm64-hbuilderx-plugin-launcher" ] install warning::: ""
0 个回复