wxDownloader.init(); 报错

  • Creator 版本:2.0.10

  • 目标平台: 模拟器微信开发者工具 Stable v.1.02.1904090

  • 详细报错信息,包含调用堆栈:
    VM798:1 gameThirdScriptError
    wxDownloader.init is not a function
    TypeError: wxDownloader.init is not a function
    at http://127.0.0.1:63889/game/game.js:35:14
    at require (http://127.0.0.1:63889/game/dev/WAGame.js:1:79236)
    at :1:1

  • 重现方式:

  • 之前哪个版本是正常的 :2.08

  • 编辑器操作系统 :IMAC

  • 编辑器之前是否有其它报错 :无

  • 出现概率:100%

  • 额外线索:屏蔽能正常运行

我也碰到一模一样的问题,从209升级到2010就出现这个了,只能退回老版本用;了

定起来

的点点滴滴多多多

可是试试清除构建缓存,以及检查是不是在build-templates里保存了wx-downloader.js,2.0.10重构了wx-downloader.js,新增了一个init函数,在game.js里调用的
https://github.com/cocos-creator-packages/weapp-adapter/pull/80/files