枭云
枭云
  • 发布:2024-11-20 10:48
  • 更新:2024-11-20 14:25
  • 阅读:248

uniapp4.36版本鸿蒙本地打包报错

分类:HBuilderX

502 WARN: ArkTS:WARN File: E:/hongmeng/mbtixinggeceshi/mbti/unpackage/release/com.mbticeshi.zhiyeceshihms/oh_modules/.ohpm/@dcloudio+uni-app-runtime@onjt5cnkmpxv8bm+y1oo6mnpqjw8oa6bpkmtp8h3hxs=/oh_modules/@dcloudio/uni-app-runtime/src/main/ets/uni-app-harmony/uni.api.ets:7621:22
The system capacity of this api 'ScanType' is not supported on all devices

503 WARN: ArkTS:WARN File: E:/hongmeng/mbtixinggeceshi/mbti/unpackage/release/com.mbticeshi.zhiyeceshihms/oh_modules/.ohpm/@dcloudio+uni-app-runtime@onjt5cnkmpxv8bm+y1oo6mnpqjw8oa6bpkmtp8h3hxs=/oh_modules/@dcloudio/uni-app-runtime/src/main/ets/uni-app-harmony/uni.api.ets:7621:31
The system capacity of this api 'UPC_A_CODE' is not supported on all devices

504 WARN: ArkTS:WARN File: E:/hongmeng/mbtixinggeceshi/mbti/unpackage/release/com.mbticeshi.zhiyeceshihms/oh_modules/.ohpm/@dcloudio+uni-app-runtime@onjt5cnkmpxv8bm+y1oo6mnpqjw8oa6bpkmtp8h3hxs=/oh_modules/@dcloudio/uni-app-runtime/src/main/ets/uni-app-harmony/uni.api.ets:7625:13
The system capacity of this api 'scanCore' is not supported on all devices

505 WARN: ArkTS:WARN File: E:/hongmeng/mbtixinggeceshi/mbti/unpackage/release/com.mbticeshi.zhiyeceshihms/oh_modules/.ohpm/@dcloudio+uni-app-runtime@onjt5cnkmpxv8bm+y1oo6mnpqjw8oa6bpkmtp8h3hxs=/oh_modules/@dcloudio/uni-app-runtime/src/main/ets/uni-app-harmony/uni.api.ets:7625:22
The system capacity of this api 'ScanType' is not supported on all devices

506 WARN: ArkTS:WARN File: E:/hongmeng/mbtixinggeceshi/mbti/unpackage/release/com.mbticeshi.zhiyeceshihms/oh_modules/.ohpm/@dcloudio+uni-app-runtime@onjt5cnkmpxv8bm+y1oo6mnpqjw8oa6bpkmtp8h3hxs=/oh_modules/@dcloudio/uni-app-runtime/src/main/ets/uni-app-harmony/uni.api.ets:7625:31
The system capacity of this api 'UPC_E_CODE' is not supported on all devices

507 WARN: ArkTS:WARN File: E:/hongmeng/mbtixinggeceshi/mbti/unpackage/release/com.mbticeshi.zhiyeceshihms/oh_modules/.ohpm/@dcloudio+uni-app-runtime@onjt5cnkmpxv8bm+y1oo6mnpqjw8oa6bpkmtp8h3hxs=/oh_modules/@dcloudio/uni-app-runtime/src/main/ets/uni-app-harmony/uni.api.ets:7647:17
The system capacity of this api 'scanCore' is not supported on all devices

508 WARN: ArkTS:WARN File: E:/hongmeng/mbtixinggeceshi/mbti/unpackage/release/com.mbticeshi.zhiyeceshihms/oh_modules/.ohpm/@dcloudio+uni-app-runtime@onjt5cnkmpxv8bm+y1oo6mnpqjw8oa6bpkmtp8h3hxs=/oh_modules/@dcloudio/uni-app-runtime/src/main/ets/uni-app-harmony/uni.api.ets:7647:26
The system capacity of this api 'ScanType' is not supported on all devices

509 WARN: ArkTS:WARN File: E:/hongmeng/mbtixinggeceshi/mbti/unpackage/release/com.mbticeshi.zhiyeceshihms/oh_modules/.ohpm/@dcloudio+uni-app-runtime@onjt5cnkmpxv8bm+y1oo6mnpqjw8oa6bpkmtp8h3hxs=/oh_modules/@dcloudio/uni-app-runtime/src/main/ets/uni-app-harmony/uni.api.ets:7647:35
The system capacity of this api 'ALL' is not supported on all devices

510 WARN: ArkTS:WARN File: E:/hongmeng/mbtixinggeceshi/mbti/unpackage/release/com.mbticeshi.zhiyeceshihms/oh_modules/.ohpm/@dcloudio+uni-app-runtime@onjt5cnkmpxv8bm+y1oo6mnpqjw8oa6bpkmtp8h3hxs=/oh_modules/@dcloudio/uni-app-runtime/src/main/ets/uni-app-harmony/uni.api.ets:7655:9
The system capacity of this api 'scanBarcode' is not supported on all devices

511 WARN: ArkTS:WARN File: E:/hongmeng/mbtixinggeceshi/mbti/unpackage/release/com.mbticeshi.zhiyeceshihms/oh_modules/.ohpm/@dcloudio+uni-app-runtime@onjt5cnkmpxv8bm+y1oo6mnpqjw8oa6bpkmtp8h3hxs=/oh_modules/@dcloudio/uni-app-runtime/src/main/ets/uni-app-harmony/uni.api.ets:7655:21
The system capacity of this api 'startScanForResult' is not supported on all devices

512 WARN: ArkTS:WARN File: E:/hongmeng/mbtixinggeceshi/mbti/unpackage/release/com.mbticeshi.zhiyeceshihms/oh_modules/.ohpm/@dcloudio+uni-app-runtime@onjt5cnkmpxv8bm+y1oo6mnpqjw8oa6bpkmtp8h3hxs=/oh_modules/@dcloudio/uni-app-runtime/src/main/ets/uni-app-harmony/uni.api.ets:7661:30
The system capacity of this api 'originalValue' is not supported on all devices

513 WARN: ArkTS:WARN File: E:/hongmeng/mbtixinggeceshi/mbti/unpackage/release/com.mbticeshi.zhiyeceshihms/oh_modules/.ohpm/@dcloudio+uni-app-runtime@onjt5cnkmpxv8bm+y1oo6mnpqjw8oa6bpkmtp8h3hxs=/oh_modules/@dcloudio/uni-app-runtime/src/main/ets/uni-app-harmony/uni.api.ets:7662:51
The system capacity of this api 'scanType' is not supported on all devices

514 WARN: ArkTS:WARN File: E:/hongmeng/mbtixinggeceshi/mbti/unpackage/release/com.mbticeshi.zhiyeceshihms/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:16
The system capacity of this api 'mapCommon' is not supported on all devices

515 WARN: ArkTS:WARN File: E:/hongmeng/mbtixinggeceshi/mbti/unpackage/release/com.mbticeshi.zhiyeceshihms/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

516 WARN: ArkTS:WARN File: E:/hongmeng/mbtixinggeceshi/mbti/unpackage/release/com.mbticeshi.zhiyeceshihms/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

517 WARN: ArkTS:WARN File: E:/hongmeng/mbtixinggeceshi/mbti/unpackage/release/com.mbticeshi.zhiyeceshihms/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

518 WARN: ArkTS:WARN File: E:/hongmeng/mbtixinggeceshi/mbti/unpackage/release/com.mbticeshi.zhiyeceshihms/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

519 WARN: ArkTS:WARN File: E:/hongmeng/mbtixinggeceshi/mbti/unpackage/release/com.mbticeshi.zhiyeceshihms/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.
520 WARN: ArkTS:WARN File: E:/hongmeng/mbtixinggeceshi/mbti/unpackage/release/com.mbticeshi.zhiyeceshihms/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'.
521 WARN: ArkTS:WARN File: E:/hongmeng/mbtixinggeceshi/mbti/unpackage/release/com.mbticeshi.zhiyeceshihms/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.
522 WARN: ArkTS:WARN File: E:/hongmeng/mbtixinggeceshi/mbti/unpackage/release/com.mbticeshi.zhiyeceshihms/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:522}

hvigor ERROR: BUILD FAILED in 13 s 261 ms
09:25:23.589 安装包制作失败

2024-11-20 10:48 负责人:无 分享
已邀请:
DCloud_uniCloud_WYQ

DCloud_uniCloud_WYQ

sign-out 这个uni_module目录结构是怎么样的,package.json里面内容也发一下

  • 枭云 (作者)

    {

    "id": "sign-out",

    "displayName": "sign-out",

    "version": "1.0.0",

    "description": "sign-out",

    "keywords": [

    "sign-out"

    ],

    "repository": "",

    "engines": {

    "HBuilderX": "^3.6.8"

    },

    "dcloudext": {

    "type": "uts",

    "sale": {

    "regular": {

    "price": "0.00"

    },

    "sourcecode": {

    "price": "0.00"

    }

    },

    "contact": {

    "qq": ""

    },

    "declaration": {

    "ads": "",

    "data": "",

    "permissions": ""

    },

    "npmurl": ""

    },

    "uni_modules": {

    "dependencies": [],

    "encrypt": [],

    "platforms": {

    "cloud": {

    "tcb": "u",

    "aliyun": "u",

    "alipay": "u"

    },

    "client": {

    "Vue": {

    "vue2": "u",

    "vue3": "u"

    },

    "App": {

    "app-android": "u",

    "app-ios": "u"

    },

    "H5-mobile": {

    "Safari": "u",

    "Android Browser": "u",

    "微信浏览器(Android)": "u",

    "QQ浏览器(Android)": "u"

    },

    "H5-pc": {

    "Chrome": "u",

    "IE": "u",

    "Edge": "u",

    "Firefox": "u",

    "Safari": "u"

    },

    "小程序": {

    "微信": "u",

    "阿里": "u",

    "百度": "u",

    "字节跳动": "u",

    "QQ": "u",

    "钉钉": "u",

    "快手": "u",

    "飞书": "u",

    "京东": "u"

    },

    "快应用": {

    "华为": "u",

    "联盟": "u"

    }

    }

    }

    }

    }

    2024-11-21 09:44

  • 枭云 (作者)

    刚刚我升级到4.34版本可以正常本地打包了,4.33不确定是哪方面原因导致的

    2024-11-21 09:46

  • DCloud_uniCloud_WYQ

    回复 枭云: 4.34有问题,先不要用4.34开发鸿蒙app。你这个uni_modules可以发我一下吗?顺便发一下项目里面的用法

    2024-11-21 16:22

  • 枭云 (作者)

    回复 DCloud_uniCloud_WYQ: 怎么发给你

    2024-11-22 14:37

  • DCloud_uniCloud_WYQ

    回复 枭云: 如果不敏感可以直接在回复里面带上附件,如果敏感可以通过uni-im发我

    2024-11-23 15:12

  • 枭云 (作者)

    回复 DCloud_uniCloud_WYQ: 通过uni-im发你了

    2024-11-25 09:27

  • 枭云 (作者)

    回复 DCloud_uniCloud_WYQ: 4.36版本又开始报错了

    2024-11-28 09:16

  • DCloud_uniCloud_WYQ

    回复 枭云: im上回你了,我这4.36用你给我的uni_module无论是运行还是发行都没问题

    2024-11-30 16:25

要回复问题请先登录注册