HarmonyOS A模块动态importB模块报错
工程的entry模块build-profile.json5文件,runtimeOnly申明了一个A模块(hsp),然后在B模块中使用动态import(A模块名),一直报错。
报错信息:
ReferenceError: failed to load module’@qunar/faceverify’ which imported by com.qunar.hos/pay/ets/pages/PayTestPage’. Please check the target path.@1991a58e