收藏
回答

wmpf拉起小程序通过voip插件拨打微信通话时抛错,控制台看是基础库报错,有人知道怎么回事吗?

Cannot read property compManager' of undefined

SystemError (webviewScriptError)

Cannot read property compManager' of undefined

TypeError: Cannot read property 'compManager' of undefined

at Wi(https//servicewechat.com/preload/WAWebviewjs2:1703755)

at Wi (https//servicewechat.com/preload/WAWebviewjs:2:1704312

at cn.createlnstance (https://servicewechat.com/preload/WAWebview js:2:1710117)

at w_advancedCreate (https://servicewechat.com/preload/WAWebview.js:2:240274)

at Function.w.createWithGenerics (https://servicewechat.com/preload/WAWebview.js:2:242521)

at Obiect w.create as createElement (https://servicewechat.com/preload/WAWebview.js:2:242675)

at Ea(https.//servicewechat.com/preload/WAWebviewjs:2:1738647

at ka(https.//servicewechat.com/preload/WAWebviewjs:2:1735981

at https//senvicewechat.com/preload/WAWebviewjs:21735675

at https//servicewechatcom/preload/WAWebviewjs:2:1735627

non-writable) modification of global variable 'define' is not allowed when using plugins at app.json

Inon-writable] modification of global variable 'require' is not allowed when using plugins at app.json

MiniProgramError

Cannot read property vdSyncBatch' of undefined

TypeError Cannot read property 'vdSyncBatch' of undefinedatu(WASubContextjs:22075692)

ati wAsubContextis:2:2075842)

at at(WASubContext.is;2 2077435)at Array.forEach (<anonymous>)at Module.oe(WASubContext.js:2:2077422)

at z*anonymous>(WASubContext.js:2:1453656)at zemit(wASubContextis:2 511320)

attH(ASubContextjs:2 1459820)at a sucpess(WASubContextjs 2:1461236)at <api batchGetContact success callback function>


问题描述:

调试设备拨打微信电话时,wmpf调试控制台抛错。看内容好像是基础库版本问题?

但是不知道该怎么解决,有同学遇到过这个坑吗?


运行环境:

  • 小程序硬件框架 v1.2.0
  • VoIP通话插件 latest (自动获取的最新版本)
  • System: Android 7.1.2, WeChat 8.0.7 48
  • Network. wifi
  • UA: Mozilla/5.0 (Linux, Android 71.2; rk3288 Build/NHG47K: wv) AppleWebKit/537 36 (KHTML ike Language/zh_CN ABI/arm32
  • WeChatlib: 2.21 1-skyline (2022.3.16 1529 23)


最后一次编辑于  2023-09-20
回答关注问题邀请回答
收藏

1 个回答

  • 晨
    2023-09-20

    这个问题修复过,低版本基础库的bug,建议更新到WMPF 2.0+试试

    2023-09-20
    有用 1
    回复 1
    • 仲夏初八。
      仲夏初八。
      2023-09-21
      可以,升级到WMPF 2.0.0,控制台不报错了
      2023-09-21
      回复
登录 后发表内容