发布普通H5正常,一发布成微信小游戏就报错!
VM277:1 gameThirdScriptError
Cannot use 'in' operator to search for 'Zlib' in undefined
TypeError: Cannot use 'in' operator to search for 'Zlib' in undefined
at p (http://127.0.0.1:22518/game/js/rawinflate.js:7:22)
at http://127.0.0.1:22518/game/js/rawinflate.js:200:5
at http://127.0.0.1:22518/game/js/rawinflate.js:209:4
at require (http://127.0.0.1:22518/game/__ ... :13675)
at http://127.0.0.1:22518/game/__ ... 13424
at http://127.0.0.1:22518/game/manifest.js:7:1
at require (http://127.0.0.1:22518/game/__ ... :13675)
at http://127.0.0.1:22518/game/__ ... 13424
at http://127.0.0.1:22518/game/game.js:5:1
at require (http://127.0.0.1:22518/game/__ ... :13675)
Cannot use 'in' operator to search for 'Zlib' in undefined
TypeError: Cannot use 'in' operator to search for 'Zlib' in undefined
at p (http://127.0.0.1:22518/game/js/rawinflate.js:7:22)
at http://127.0.0.1:22518/game/js/rawinflate.js:200:5
at http://127.0.0.1:22518/game/js/rawinflate.js:209:4
at require (http://127.0.0.1:22518/game/__ ... :13675)
at http://127.0.0.1:22518/game/__ ... 13424
at http://127.0.0.1:22518/game/manifest.js:7:1
at require (http://127.0.0.1:22518/game/__ ... :13675)
at http://127.0.0.1:22518/game/__ ... 13424
at http://127.0.0.1:22518/game/game.js:5:1
at require (http://127.0.0.1:22518/game/__ ... :13675)
没有找到相关结果
已邀请:
2 个回复
谷主
赞同来自: makilyang
makilyang
赞同来自:
content += ";window.egret.fairygui = fairygui;";
}
这里应该是这个吧,教程都坑。
content += ";window.fairygui = fairygui;";