common/main.js: TypeError: window.WeixinJSBridge.beforeinvoke is not a function 小程序工具项目运行报错

  • Post author:
  • Post category:小程序


小程序项目启动成功,但是项目空白 切报错

 报错信息:
 common/main.js:
 TypeError: window.WeixinJSBridge.beforeinvoke is not a functionVM304 WAService.js:1 TypeError: window.WeixinJSBridge.beforeinvoke is not a function
 和
 Unhandled promise rejection TypeError: WebAssembly.instantiate(): Argument 0 must be a buffer source or a WebAssembly.Module object
    at Object.t.wasm_initialize (VM304 WAService.js:1)

报错如图

在这里插入图片描述


解决办法:

这里是引用



版权声明:本文为i_am_a_div原创文章,遵循 CC 4.0 BY-SA 版权协议,转载请附上原文出处链接和本声明。