你好,想请教一下。 我是全新配置的LINUX编译环境。 执行「./build.sh --product-name rk3568_mini_system --ccache」可以成功构建镜像。 但执行「./build.sh --product-name rk3568 --ccache」会报「 Error: Cannot find module 'babel-core'」,是「build/prebuilts_download.sh」脚本有缺漏? 详情: [OHOS ERROR] [952/14146] ACTION //third_party/jsframework:gen_snapshot(//build/toolchain/ohos:ohos_clang_arm) [OHOS ERROR] FAILED: obj/third_party/jsframework/dist/strip.native.min.js obj/third_party/jsframework/dist/jsMockSystemPlugin.js [OHOS ERROR] /usr/bin/env ../../third_party/jsframework/js_framework_build.sh ../../third_party/jsframework/build.js ../../prebuilts/build-tools/common/nodejs/node-v12.18.4-linux-x64 ../../third_party/jsframework/runtime ../../prebuilts/build-tools/common/js-framework/node_modules ../../third_party/jsframework/package.json ../../third_party/jsframework/tsconfig.json ../../third_party/jsframework/.eslintrc ../../third_party/jsframework/test obj/third_party/jsframework ../../third_party/jsframework/.babelrc false ../../prebuilts [OHOS ERROR] copy source code... [OHOS ERROR] copy node_modules... [OHOS ERROR] prebuilts exists [OHOS ERROR] internal/modules/cjs/loader.js:968 [OHOS ERROR] throw err; [OHOS ERROR] ^ [OHOS ERROR] [OHOS ERROR] Error: Cannot find module 'babel-core' [OHOS ERROR] Require stack: [OHOS ERROR] - /run/media/root/3a6bd80b-46be-4bb6-864e-60ac6e632080/hmos/out/rk3568/obj/third_party/jsframework/node_modules/rollup-plugin-babel/dist/rollup-plugin-babel.cjs.js [OHOS ERROR] - /run/media/root/3a6bd80b-46be-4bb6-864e-60ac6e632080/hmos/out/rk3568/obj/third_party/jsframework/build.js [OHOS ERROR] at Function.Module._resolveFilename (internal/modules/cjs/loader.js:965:15) [OHOS ERROR] at Function.Module._load (internal/modules/cjs/loader.js:841:27) [OHOS ERROR] at Module.require (internal/modules/cjs/loader.js:1025:19) [OHOS ERROR] at require (internal/modules/cjs/helpers.js:72:18) [OHOS ERROR] at Object.<anonymous> (/run/media/root/3a6bd80b-46be-4bb6-864e-60ac6e632080/hmos/out/rk3568/obj/third_party/jsframework/node_modules/rollup-plugin-babel/dist/rollup-plugin-babel.cjs.js:4:17) [OHOS ERROR] at Module._compile (internal/modules/cjs/loader.js:1137:30) [OHOS ERROR] at Object.Module._extensions..js (internal/modules/cjs/loader.js:1157:10) [OHOS ERROR] at Module.load (internal/modules/cjs/loader.js:985:32) [OHOS ERROR] at Function.Module._load (internal/modules/cjs/loader.js:878:14) [OHOS ERROR] at Module.require (internal/modules/cjs/loader.js:1025:19) { [OHOS ERROR] code: 'MODULE_NOT_FOUND', [OHOS ERROR] requireStack: [ [OHOS ERROR] '/run/media/root/3a6bd80b-46be-4bb6-864e-60ac6e632080/hmos/out/rk3568/obj/third_party/jsframework/node_modules/rollup-plugin-babel/dist/rollup-plugin-babel.cjs.js', [OHOS ERROR] '/run/media/root/3a6bd80b-46be-4bb6-864e-60ac6e632080/hmos/out/rk3568/obj/third_party/jsframework/build.js' [OHOS ERROR] ] [OHOS ERROR] } [OHOS INFO] --------------------------------------------- [OHOS INFO] ccache summary: [OHOS INFO] cache hit (direct) : 153 [OHOS INFO] cache hit (preprocessed) : 3 [OHOS INFO] cache miss : 458 [OHOS INFO] hit rate: 25.41% [OHOS INFO] mis rate: 74.59% [OHOS INFO] --------------------------------------------- [OHOS INFO] c targets overlap rate statistics [OHOS INFO] subsystem files NO. percentage builds NO. percentage overlap rate [OHOS INFO] securec 78 0.6% 117 0.9% 1.50 [OHOS INFO] third_party 6092 47.4% 6132 47.6% 1.01 [OHOS INFO] thirdparty 6092 47.4% 6132 47.6% 1.01 [OHOS INFO] ark 331 2.6% 332 2.6% 1.00 [OHOS INFO] aafwk 111 0.9% 111 0.9% 1.00 [OHOS INFO] ability 111 0.9% 111 0.9% 1.00 [OHOS INFO] account 41 0.3% 41 0.3% 1.00 [OHOS INFO] arkXtest 11 0.1% 11 0.1% 1.00 [OHOS INFO] arkui 275 2.1% 275 2.1% 1.00 [OHOS INFO] barrierfree 35 0.3% 35 0.3% 1.00 [OHOS INFO] bundlemanager 49 0.4% 49 0.4% 1.00 [OHOS INFO] commonlibrary 183 1.4% 183 1.4% 1.00 [OHOS INFO] communication 879 6.8% 879 6.8% 1.00 [OHOS INFO] customization 6 0.0% 6 0.0% 1.00 [OHOS INFO] developtools 140 1.1% 140 1.1% 1.00 [OHOS INFO] deviceprofile 11 0.1% 11 0.1% 1.00 [OHOS INFO] distributeddatamgr 329 2.6% 329 2.6% 1.00 [OHOS INFO] distributedhardware 12 0.1% 12 0.1% 1.00 [OHOS INFO] distributedschedule 21 0.2% 21 0.2% 1.00 [OHOS INFO] filemanagement 65 0.5% 65 0.5% 1.00 [OHOS INFO] global 37 0.3% 37 0.3% 1.00 [OHOS INFO] graphic 129 1.0% 129 1.0% 1.00 [OHOS INFO] hdf 720 5.6% 720 5.6% 1.00 [OHOS INFO] hiviewdfx 345 2.7% 345 2.7% 1.00 [OHOS INFO] inputmethod 17 0.1% 17 0.1% 1.00 [OHOS INFO] msdp 3 0.0% 3 0.0% 1.00 [OHOS INFO] multimedia 343 2.7% 343 2.7% 1.00 [OHOS INFO] multimodalinput 77 0.6% 77 0.6% 1.00 [OHOS INFO] notification 36 0.3% 36 0.3% 1.00 [OHOS INFO] powermgr 66 0.5% 66 0.5% 1.00 [OHOS INFO] request 5 0.0% 5 0.0% 1.00 [OHOS INFO] resourceschedule 34 0.3% 34 0.3% 1.00 [OHOS INFO] security 377 2.9% 377 2.9% 1.00 [OHOS INFO] sensors 49 0.4% 49 0.4% 1.00 [OHOS INFO] startup 165 1.3% 165 1.3% 1.00 [OHOS INFO] telephony 55 0.4% 55 0.4% 1.00 [OHOS INFO] test 11 0.1% 11 0.1% 1.00 [OHOS INFO] theme 8 0.1% 8 0.1% 1.00 [OHOS INFO] updater 120 0.9% 120 0.9% 1.00 [OHOS INFO] usb 7 0.1% 7 0.1% 1.00 [OHOS INFO] useriam 122 0.9% 122 0.9% 1.00 [OHOS INFO] utils 9 0.1% 9 0.1% 1.00 [OHOS INFO] window 3 0.0% 3 0.0% 1.00 [OHOS INFO] [OHOS INFO] c overall build overlap rate: 1.00 [OHOS INFO] [OHOS INFO] [OHOS ERROR] Please check build log in /run/media/root/3a6bd80b-46be-4bb6-864e-60ac6e632080/hmos/out/rk3568/build.log =====build error===== 通过 [Proton Mail](https://proton.me/) 安全邮箱发送。