taro转微信小程序出现 TypeError: _index2.default.RefsArray is not a constructor错误
-
请问有人能解答这个错误吗?万分感谢!!!
http://127.0.0.1:49833/appservice/pages/index/index.js:56:21)
at Connect._constructor (http://127.0.0.1:49833/appservice/npm/@tarojs/redux/dist/index.js:284:80)
at Object.createComponent (http://127.0.0.1:49833/appservice/npm/@tarojs/taro-weapp/dist/index.js:1926:55)
at http://127.0.0.1:49833/appservice/pages/index/index.js:104:68
at require (http://127.0.0.1:49833/appservice/dev/WAService.js:1:1569401)
at <anonymous>:8:7
at HTMLScriptElement.scriptLoaded (http://127.0.0.1:49833/appservice/appservice?t=1573636910251:1114:21)
at HTMLScriptElement.script.onload (http://127.0.0.1:49833/appservice/appservice?t=1573636910251:1126:20)
-
更新了 @taro/cli 后也出现这个问题,没有找到解决方法 @jd_5bfb5f87bedb6
-
解决了,因为之前 taro updateself 更了了 cli. 解决方法:
删除taro
npm uninstall -g @tarojs/cli退回旧版
npm i -g @tarojs/cli@1.3.17
-
好的,非常感谢