hvigor ERROR: Failed :entry:default@CompileArkTS...
hvigor ERROR: Unexpected token (Note that you need plugins to import files that are not JavaScript)
\?\E:\work\jinmin\codenew\mzt\ggfwappmis\unpackage\release\com.soft.huawei.jmggfw\oh_modules.ohpm\@dcloudio+uni-app-runtime@onjt5cnkmpxv8bm+y1oo6mnpqjw8oa6bpkmtp8h3hxs=\oh_modules\@dcloudio\uni-app-runtime\src\main\ets\uni-mp-sdk\components\SafeAreaOffset.ets:1
1 WARN: ArkTS:WARN File: E:/work/jinmin/codenew/mzt/ggfwappmis/unpackage/release/com.neusoft.huawei.jmggfw/oh_modules/.ohpm/@dcloudio+uni-app-runtime@onjt5cnkmpxv8bm+y1oo6mnpqjw8oa6bpkmtp8h3hxs=/oh_modules/@dcloudio/uni-app-runtime/src/main/ets/uts/uts.ets:8:39
Usage of 'ESObject' type is restricted (arkts-limited-esobj)
......
516 WARN: ArkTS:WARN File: E:/work/jinmin/codenew/mzt/ggfwappmis/unpackage/release/com.neusoft.huawei.jmggfw/oh_modules/.ohpm/@dcloudio+uni-app-runtime@onjt5cnkmpxv8bm+y1oo6mnpqjw8oa6bpkmtp8h3hxs=/oh_modules/@dcloudio/uni-app-runtime/src/main/ets/uni-mp-sdk/components/Map.ets:22:26
The system capacity of this api 'MapType' is not supported on all devices
517 WARN: ArkTS:WARN File: E:/work/jinmin/codenew/mzt/ggfwappmis/unpackage/release/com.neusoft.huawei.jmggfw/oh_modules/.ohpm/@dcloudio+uni-app-runtime@onjt5cnkmpxv8bm+y1oo6mnpqjw8oa6bpkmtp8h3hxs=/oh_modules/@dcloudio/uni-app-runtime/src/main/ets/uni-mp-sdk/components/Map.ets:22:34
The system capacity of this api 'STANDARD' is not supported on all devices
518 WARN: ArkTS:WARN File: E:/work/jinmin/codenew/mzt/ggfwappmis/unpackage/release/com.neusoft.huawei.jmggfw/oh_modules/.ohpm/@dcloudio+uni-app-runtime@onjt5cnkmpxv8bm+y1oo6mnpqjw8oa6bpkmtp8h3hxs=/oh_modules/@dcloudio/uni-app-runtime/src/main/ets/uni-mp-sdk/components/Map.ets:29:28
The system capacity of this api 'on' is not supported on all devices
519 WARN: ArkTS:WARN File: E:/work/jinmin/codenew/mzt/ggfwappmis/unpackage/release/com.neusoft.huawei.jmggfw/oh_modules/.ohpm/@dcloudio+uni-app-runtime@onjt5cnkmpxv8bm+y1oo6mnpqjw8oa6bpkmtp8h3hxs=/oh_modules/@dcloudio/uni-app-runtime/src/main/ets/uni-mp-sdk/components/Map.ets:39:5
The system capacity of this api 'MapComponent' is not supported on all devices
520 WARN: ArkTS:WARN File: E:/work/jinmin/codenew/mzt/ggfwappmis/unpackage/release/com.neusoft.huawei.jmggfw/oh_modules/.ohpm/@dcloudio+uni-app-runtime@onjt5cnkmpxv8bm+y1oo6mnpqjw8oa6bpkmtp8h3hxs=/oh_modules/@dcloudio/uni-app-runtime/src/main/ets/uni-mp-sdk/components/TabBar.ets:190:9
The @Prop property 'midButton' cannot be an optional parameter.
521 WARN: ArkTS:WARN File: E:/work/jinmin/codenew/mzt/ggfwappmis/unpackage/release/com.neusoft.huawei.jmggfw/oh_modules/.ohpm/@dcloudio+uni-app-runtime@onjt5cnkmpxv8bm+y1oo6mnpqjw8oa6bpkmtp8h3hxs=/oh_modules/@dcloudio/uni-app-runtime/src/main/ets/uni-mp-sdk/components/TabBar.ets:204:21
The regular property 'item!' cannot be assigned to the @ObjectLink property 'item'.
522 WARN: ArkTS:WARN File: E:/work/jinmin/codenew/mzt/ggfwappmis/unpackage/release/com.neusoft.huawei.jmggfw/oh_modules/.ohpm/@dcloudio+uni-app-runtime@onjt5cnkmpxv8bm+y1oo6mnpqjw8oa6bpkmtp8h3hxs=/oh_modules/@dcloudio/uni-app-runtime/src/main/ets/uni-mp-sdk/components/Picker.ets:113:9
The @Prop property 'range' cannot be an optional parameter.
523 WARN: ArkTS:WARN File: E:/work/jinmin/codenew/mzt/ggfwappmis/unpackage/release/com.neusoft.huawei.jmggfw/oh_modules/.ohpm/@dcloudio+uni-app-runtime@onjt5cnkmpxv8bm+y1oo6mnpqjw8oa6bpkmtp8h3hxs=/oh_modules/@dcloudio/uni-app-runtime/src/main/ets/uni-mp-sdk/components/Picker.ets:115:9
The @Prop property 'value' cannot be an optional parameter.
COMPILE RESULT:FAIL {ERROR:1 WARN:523}
hvigor ERROR: BUILD FAILED in 22 s 332 ms
14:53:10.083 安装包制作失败
xiemz (作者)
解决了 谢谢
2025-01-10 17:46