thirdScriptError sdk uncaught third Error Cannot read property 'Provider' of undefined TypeError: Cannot read property 'Provider' of undefined at http://127.0.0.1:39784/appservice/app.js:39:25 at require (http://127.0.0.1:39784/appservice/dev/WAService.js:1:1113027) at :1:1 at HTMLScriptElement.scriptLoaded (http://127.0.0.1:39784/appservice/appservice?t=1561444547753:1176:21) at HTMLScriptElement.script.onload (http://127.0.0.1:39784/appservice/appservice?t=1561444547753:1188:20) console.error @ VM4284:1 (anonymous) @ WAService.js:1 (anonymous) @ WAService.js:1 e @ appservice?t=1561444547753:1135 window.onerror @ VM4284:1 scriptLoaded @ appservice?t=1561444547753:1176 script.onload @ appservice?t=1561444547753:1188

  • 问题原因:Taro Cli版本与项目Taro版本未保持一致
  • 解决方法:
cnpm i -g @tarojs/cli@1.*.**
# 或者升级项目taro版本

详见:Issues