之前都还是好好地 突然项目启动就报错了 经过排查发现 使用uni-data-select uni-data-checkbox uni-file-picker 这几个组件在项目中使用都会报这个错 我自己用hbuildx 新建一个hello-uni的项目 启动之后也是报这个错 昨天在公司报这个错 我直接把hbuildx删了 然后重新 下了一个就好了 今天在家里用家里的电脑 跑项目又出现这个问题 卸载重装hbuildx没有作用
报错信息
UncaughtTypeError: Cannot read property 'length' of undefined
at http://localhost:8080/static/js/chunk-vendors.js:33053:124606
at Object.<anonymous> (http://localhost:8080/static/js/chunk-vendors.js:33053:125311)
at Object.qf9q (http://localhost:8080/static/js/chunk-vendors.js:33054:30)
at webpack_require (http://localhost:8080/static/js/index.js:854:30)
at fn (http://localhost:8080/static/js/index.js:151:20)
at Object.SipX (http://localhost:8080/static/js/chunk-vendors.js:19022:41)
at webpack_require (http://localhost:8080/static/js/index.js:854:30)
at fn (http://localhost:8080/static/js/index.js:151:20)
at eval (webpack-internal:///u/o5:1:689)
at Object.u/o5 (http://localhost:8080/static/js/index.js:11119:1)
1 个回复
CODE_XU
3.5.5 版本已经修复此问题