8***@qq.com
8***@qq.com
  • 发布:2020-04-01 15:12
  • 更新:2020-09-16 00:17
  • 阅读:1913

【报bug】更新HbuiderX后 uni-list-item组建使用报错

分类:HBuilderX

hbuilderX 版本2.6.8,iOS手机系统13.4,升级hbuilderX前不报错,升级后报错
cid unmatched [object Object]
14:49:50.990 TypeError: Invalid attempt to destructure non-iterable instance
14:49:51.012 Users/issuser/Desktop/vueWork/HXG_uniApp/components/uni-list-item/uni-list-item.vue:[-1;-1,7,8-0]$r[0][sc] is undefined
14:49:51.036 Users/issuser/Desktop/vueWork/HXG_uniApp/components/uni-list-item/uni-list-item.vue:[-1;-1,7,8-0]$r[0][c] is undefined
14:49:51.057 Users/issuser/Desktop/vueWork/HXG_uniApp/components/uni-list-item/uni-list-item.vue:[-1;-1,7,8-0]$r[0][a-hover-class] is undefined
14:49:51.077 Users/issuser/Desktop/vueWork/HXG_uniApp/components/uni-list-item/uni-list-item.vue:[-1;-1,7,8-0]$r[1][sc] is undefined
14:49:51.099 Users/issuser/Desktop/vueWork/HXG_uniApp/components/uni-list-item/uni-list-item.vue:[-1;-1,7,8-0]$r[1][c] is undefined
14:49:51.121 Users/issuser/Desktop/vueWork/HXG_uniApp/components/uni-list-item/uni-list-item.vue:[-1;-1,7,8-0]$r[2][i] is undefined
14:49:51.141 Users/issuser/Desktop/vueWork/HXG_uniApp/components/uni-list-item/uni-list-item.vue:[-1;-1,7,8-0]$r[4][e] is undefined
14:49:51.162 Users/issuser/Desktop/vueWork/HXG_uniApp/components/uni-list-item/uni-list-item.vue:[-1;-1,7,8-0]$r[6][sc] is undefined
14:49:51.187 Users/issuser/Desktop/vueWork/HXG_uniApp/components/uni-list-item/uni-list-item.vue:[-1;-1,7,8-0]$r[8][sc] is undefined
14:49:51.207 Users/issuser/Desktop/vueWork/HXG_uniApp/components/uni-list-item/uni-list-item.vue:[-1;-1,7,8-0]$r[8][t0-0] is undefined
14:49:51.228 Users/issuser/Desktop/vueWork/HXG_uniApp/components/uni-list-item/uni-list-item.vue:[-1;-1,7,8-0]$r[9][i] is undefined
14:49:51.249 Users/issuser/Desktop/vueWork/HXG_uniApp/components/uni-list-item/uni-list-item.vue:[-1;-1,7,8-0]$r[10][i] is undefined
14:49:51.274 cid unmatched [object Object]

2020-04-01 15:12 负责人:DCloud_UNI_HT 分享
已邀请:
Javin

Javin

我也出现了这个问题 坐等回复

Javin

Javin

我同样是 ios 13.4 2.6.7.20200326-alpha

Javin

Javin

00:12:37.905 Users/YJY/Documents/Code/UniApp/hi-maestros/pages/common/entrance.vue:[-1]$r[1][sc] is undefined
00:12:37.930 Users/YJY/Documents/Code/UniApp/hi-maestros/pages/common/entrance.vue:[-1]$r[2][sc] is undefined
00:12:37.953 Users/YJY/Documents/Code/UniApp/hi-maestros/pages/common/entrance.vue:[-1]$r[4][sc] is undefined
00:12:37.978 Users/YJY/Documents/Code/UniApp/hi-maestros/pages/common/entrance.vue:[-1]$r[4][t0-0] is undefined
00:12:38.002 Users/YJY/Documents/Code/UniApp/hi-maestros/pages/common/entrance.vue:[-1]$r[5][sc] is undefined
00:12:38.027 Users/YJY/Documents/Code/UniApp/hi-maestros/pages/common/entrance.vue:[-1]$r[5][t0-0] is undefined
00:12:38.049 Users/YJY/Documents/Code/UniApp/hi-maestros/pages/common/entrance.vue:[-1]$r[6][sc] is undefined
00:12:38.074 Users/YJY/Documents/Code/UniApp/hi-maestros/pages/common/entrance.vue:[-1]$r[6][t0-0] is undefined
00:12:38.099 Users/YJY/Documents/Code/UniApp/hi-maestros/pages/common/entrance.vue:[-1]$r[8][i] is undefined

00:12:38.174 Users/YJY/Documents/Code/UniApp/hi-maestros/components/QS-picker/QS-picker.vue:[-1,7]$r[1][sc] is undefined
00:12:38.199 Users/YJY/Documents/Code/UniApp/hi-maestros/components/QS-picker/QS-picker.vue:[-1,7]$r[1][c] is undefined
00:12:38.224 Users/YJY/Documents/Code/UniApp/hi-maestros/components/QS-picker/QS-picker.vue:[-1,7]$r[2][sc] is undefined
00:12:38.249 Users/YJY/Documents/Code/UniApp/hi-maestros/components/QS-picker/QS-picker.vue:[-1,7]$r[3][sc] is undefined

很多这样的错误

Javin

Javin

降到自定义组件模式就可以,v3不行。也是刚刚发生的状况。

  • 2***@qq.com

    是不是 要取消 v3 才能解决

    2020-04-02 15:24

  • Javin

    你是自定义几座吗?你打包正式版本试一下,然后再换回来。

    2020-04-03 21:16

  • m***@vcgroup.cn

    回复 Javin: 打正式包 还是一样呢

    cid unmatched [object Object]

    15:33:24.028 TypeError: Invalid attempt to destructure non-iterable instance.

    15:33:24.048 In order to be iterable, non-array objects must have a [Symbol.iterator]() method.

    2020-07-06 15:33

8***@qq.com

8***@qq.com (作者) - lisp

麻烦官方来讲一下怎么更好的解决

DCloud_UNI_HT

DCloud_UNI_HT

项目是 HBuilderX 创建的项目,还是 CLI 创建的项目?

DCloud_UNI_HT

DCloud_UNI_HT

提供一个简单的 demo 把

  • 2***@qq.com

    更新之后 自定义 组件都不能 显示了 在 IOS 上 555

    2020-04-02 15:28

  • Javin

    总是出这个bug导致浪费打包次数今天都浪费我十几块了跟抽奖似的云打包v3概率性出现这些报错bug.

    2020-04-11 04:21

  • Javin

    HBuildX 2.6.10.20200403-alpha 估计提供你我的工程也没用 概率性的

    2020-04-11 04:22

  • Javin

    cid unmatched [object Object]

    04:19:54.430 TypeError: Invalid attempt to destructure non-iterable instance

    04:19:54.454 Users/YJY/Documents/Code/UniApp/hi-maestros/pages/common/entrance.vue:[-1]$r[1][sc] is undefined

    04:19:54.476 Users/YJY/Documents/Code/UniApp/hi-maestros/pages/common/entrance.vue:[-1]$r[1][a-src] is undefined

    04:19:54.499 Users/YJY/Documents/Code/UniApp/hi-maestros/pages/common/entrance.vue:[-1]$r[2][sc] is undefined

    04:19:54.524 Users/YJY/Documents/Code/UniApp/hi-maestros/pages/common/entrance.vue:[-1]$r[4][sc] is undefined

    04:19:54.549 Users/YJY/Documents/Code/UniApp/hi-maestros/pages/common/entrance.vue:[-1]$r[4][t0-0] is undefined

    04:19:54.569 Users/YJY/Documents/Code/UniApp/hi-maestros/pages/common/entrance.vue:[-1]$r[5][sc] is undefined

    04:19:54.593 Users/YJY/Documents/Code/UniApp/hi-maestros/pages/common/entrance.vue:[-1]$r[5][t0-0] is undefined

    04:19:54.618 Users/YJY/Documents/Code/UniApp/hi-maestros/pages/common/entrance.vue:[-1]$r[6][sc] is undefined

    04:19:54.642 Users/YJY/Documents/Code/UniApp/hi-maestros/pages/common/entrance.vue:[-1]$r[6][t0-0] is undefined

    04:19:54.665 Users/YJY/Documents/Code/UniApp/hi-maestros/pages/common/entrance.vue:[-1]$r[8][i] is undefined


    又是这些

    2020-04-11 04:23

  • Javin

    mac版只有我只有ios v3才会出这个问题 真心遭罪 浪费好多钱

    2020-04-11 04:25

  • Javin

    回复 2***@qq.com: 有的时候自定义组建错误,有的时候正式打包错误概率性问题,从新打包几次就会好,我在这块已经浪费几十块打包费用了。

    2020-04-12 16:27

Javin

Javin

不知道为什么我从新编译了ios产品证书正式打包以后,再从新使用开发证书编译自定义几座就好了。

  • 6***@qq.com

    请问问题解决了吗?我hbuilderX 版本2.6.11 遇到同样问题我是 cli创建的项目

    2020-04-15 10:21

  • Javin

    回复 6***@qq.com: 没解决依旧如故 我浪费云打包费用几十块了 这个是概率问题 每次都是抽盲盒

    2020-04-15 21:34

4***@qq.com

4***@qq.com

请问解决了吗

华录成都

华录成都 - 华录成都

你好 请问问题解决了吗 我也是这个问题 hbuilderX更新后 在ios上报错 cid unmatched [object Object] 一些组件化的用不了了

  • 8***@qq.com (作者)

    后来重新打包了几次,也不知道哪里的影响,就解决了

    2020-06-05 13:33

  • 华录成都

    回复 8***@qq.com: hbuilderX是用的那个版本的呀 可以方便说一下吗

    2020-06-05 13:48

  • 8***@qq.com (作者)

    回复 华录成都: 现在是最新的版本

    2020-06-05 16:02

Guozx

Guozx

我也出现了这个问题,最后发现是是v-for的时候v-bind:key绑定的值有问题,要获取的对象的一个属性,就算不是id或者code。

该问题目前已经被锁定, 无法添加新回复