guang
guang
  • 发布:2023-10-26 11:37
  • 更新:2024-02-06 09:29
  • 阅读:548

微信小程序编译后在开发者工具表现正常,但在真机和体验版都报错,页面一片空白

分类:uni-app

报错信息如下,有遇到朋友吗?求大神帮忙
基本上所有加载js文件都报同样的错误:Error during evaluating file length must be a positive 32-bit integer

PC Adapter: 2.0.9-app-wmpf, 2023.9.7 11:24:4  
VM5:1 [system] No. of subpackages: 2  
VM5:1 [system] LazyCodeLoading: false  
4a8bf81e4a9cdf0e4e2f4c302874a19d-8447-anMvYXBwL2luZGV4Lmpz.cachedata:2 global.Object already protected.  
4a8bf81e4a9cdf0e4e2f4c302874a19d-8447-anMvYXBwL2luZGV4Lmpz.cachedata:2 doNotWriteObj cost: 11 ms.  
4a8bf81e4a9cdf0e4e2f4c302874a19d-8447-anMvYXBwL2luZGV4Lmpz.cachedata:2 deepFreeze globals: Array(87)  
4a8bf81e4a9cdf0e4e2f4c302874a19d-8447-anMvYXBwL2luZGV4Lmpz.cachedata:2 deepFreeze cost: 1 ms.  
page-frame.html:1 Mixed Content: The page at 'https://servicewechat.com/wx80bf1bd92b91e0db/0/page-frame.html' was loaded over HTTPS, but requested an insecure image 'http://mmbiz.qpic.cn/mmbiz_png/D6Z5aApSQPq8GhGibALg9DNSWJ4BAibq3YgcOQndDXokyTxPJnslMeiaIuOM9rvYff3JOORD6YhkL38BKtUbDR7xw/640?wx_fmt=png&wxfrom=200'. This content should also be served over HTTPS.  
9ca006dcb9448d2b8540be411ecf611a-8447.cachedata:1 WeChatLib: 3.0.0 (2023.8.18 18:01:52)  
VM5:1 Register: plugin-private://wx4418e3e031e551be/components/formpage/form-page  
VM5:1 Error during evaluating file "app.js":   
t.<computed> @ VM5:1  
VM5:1 `length` must be a positive 32-bit integer  
t.<computed> @ VM5:1  
VM5:1 TypeError: `length` must be a positive 32-bit integer  
    at w8 (b85e63c4e96769ca6fd700db68159ec7-8447-YXBwLXNlcnZpY2UuanM=.cachedata:28810:79)  
    at e.exports (b85e63c4e96769ca6fd700db68159ec7-8447-YXBwLXNlcnZpY2UuanM=.cachedata:28840:12)  
    at b85e63c4e96769ca6fd700db68159ec7-8447-YXBwLXNlcnZpY2UuanM=.cachedata:28851:8  
    at <anonymous>:1:506066  
    at d.runWith (<anonymous>:1:495611)  
    at V (<anonymous>:1:506044)  
    at n (<anonymous>:1:504863)  
    at b85e63c4e96769ca6fd700db68159ec7-8447-YXBwLXNlcnZpY2UuanM=.cachedata:45381:9  
    at <anonymous>:1:506066  
    at d.runWith (<anonymous>:1:495611)  
t.<computed> @ VM5:1  
VM5:1 Error during evaluating file "components/areacode/areacode.js":   
t.<computed> @ VM5:1  
VM5:1 `length` must be a positive 32-bit integer  
t.<computed> @ VM5:1  
VM5:1 TypeError: `length` must be a positive 32-bit integer  
    at w8 (b85e63c4e96769ca6fd700db68159ec7-8447-YXBwLXNlcnZpY2UuanM=.cachedata:28810:79)  
    at e.exports (b85e63c4e96769ca6fd700db68159ec7-8447-YXBwLXNlcnZpY2UuanM=.cachedata:28840:12)  
    at b85e63c4e96769ca6fd700db68159ec7-8447-YXBwLXNlcnZpY2UuanM=.cachedata:28851:8  
    at <anonymous>:1:506066  
    at d.runWith (<anonymous>:1:495611)  
    at V (<anonymous>:1:506044)  
    at n (<anonymous>:1:504863)  
    at b85e63c4e96769ca6fd700db68159ec7-8447-YXBwLXNlcnZpY2UuanM=.cachedata:45559:9  
    at <anonymous>:1:506066  
    at d.runWith (<anonymous>:1:495611)  
t.<computed> @ VM5:1  
VM5:1 Error during evaluating file "components/auditpop/auditpop.js":   
t.<computed> @ VM5:1  
VM5:1 `length` must be a positive 32-bit integer  
t.<computed> @ VM5:1  
VM5:1 TypeError: `length` must be a positive 32-bit integer  
    at w8 (b85e63c4e96769ca6fd700db68159ec7-8447-YXBwLXNlcnZpY2UuanM=.cachedata:28810:79)  
    at e.exports (b85e63c4e96769ca6fd700db68159ec7-8447-YXBwLXNlcnZpY2UuanM=.cachedata:28840:12)  
    at b85e63c4e96769ca6fd700db68159ec7-8447-YXBwLXNlcnZpY2UuanM=.cachedata:28851:8  
    at <anonymous>:1:506066  
    at d.runWith (<anonymous>:1:495611)  
    at V (<anonymous>:1:506044)  
    at n (<anonymous>:1:504863)  
    at b85e63c4e96769ca6fd700db68159ec7-8447-YXBwLXNlcnZpY2UuanM=.cachedata:46776:9  
    at <anonymous>:1:506066  
    at d.runWith (<anonymous>:1:495611)  
t.<computed> @ VM5:1  
VM5:1 Error during evaluating file "components/copyright/copyright.js":   
t.<computed> @ VM5:1  
VM5:1 `length` must be a positive 32-bit integer  
t.<computed> @ VM5:1  
VM5:1 TypeError: `length` must be a positive 32-bit integer  
    at w8 (b85e63c4e96769ca6fd700db68159ec7-8447-YXBwLXNlcnZpY2UuanM=.cachedata:28810:79)  
    at e.exports (b85e63c4e96769ca6fd700db68159ec7-8447-YXBwLXNlcnZpY2UuanM=.cachedata:28840:12)  
    at b85e63c4e96769ca6fd700db68159ec7-8447-YXBwLXNlcnZpY2UuanM=.cachedata:28851:8  
    at <anonymous>:1:506066  
    at d.runWith (<anonymous>:1:495611)  
    at V (<anonymous>:1:506044)  
    at n (<anonymous>:1:504863)  
    at b85e63c4e96769ca6fd700db68159ec7-8447-YXBwLXNlcnZpY2UuanM=.cachedata:46975:9  
    at <anonymous>:1:506066  
    at d.runWith (<anonymous>:1:495611)  
t.<computed> @ VM5:1  
VM5:1 Error during evaluating file "components/developing/developing.js":   
t.<computed> @ VM5:1  
VM5:1 `length` must be a positive 32-bit integer  
t.<computed> @ VM5:1  
VM5:1 TypeError: `length` must be a positive 32-bit integer  
    at w8 (b85e63c4e96769ca6fd700db68159ec7-8447-YXBwLXNlcnZpY2UuanM=.cachedata:28810:79)  
    at e.exports (b85e63c4e96769ca6fd700db68159ec7-8447-YXBwLXNlcnZpY2UuanM=.cachedata:28840:12)  
    at b85e63c4e96769ca6fd700db68159ec7-8447-YXBwLXNlcnZpY2UuanM=.cachedata:28851:8  
    at <anonymous>:1:506066  
    at d.runWith (<anonymous>:1:495611)  
    at V (<anonymous>:1:506044)  
    at n (<anonymous>:1:504863)  
    at b85e63c4e96769ca6fd700db68159ec7-8447-YXBwLXNlcnZpY2UuanM=.cachedata:47000:7  
    at <anonymous>:1:506066  
    at d.runWith (<anonymous>:1:495611)  
t.<computed> @ VM5:1  
VM5:1 Error during evaluating file "components/displayinfo/displayinfo.js":   
t.<computed> @ VM5:1  
VM5:1 `length` must be a positive 32-bit integer  
t.<computed> @ VM5:1  
VM5:1 TypeError: `length` must be a positive 32-bit integer
2023-10-26 11:37 负责人:无 分享
已邀请:
1***@qq.com

1***@qq.com

你好 请问解决了吗?我引入腾讯地图插件真机上就空白报错了

凯茵化工

凯茵化工

解决了吗,同样问题

凯茵化工

凯茵化工

是不是使用了qs,我把qs注释掉就不报错了

p***@163.com

p***@163.com

我引入微信第三方插件-腾讯验证码,真机上调试就报错

要回复问题请先登录注册