把达达麻将发布到微信小游戏失败,控制台输出信息:
(unknown) TypeError: Cannot read property ‘Circle’ of undefined
at Array.142…/CCPhysicsTypes (cocos2d-js.ebcec.js:26265)
at newRequire (cocos2d-js.ebcec.js:19)
at cocos2d-js.ebcec.js:20
at Array.145…/…/…/external/box2d/box2d (cocos2d-js.ebcec.js:26516)
at newRequire (cocos2d-js.ebcec.js:19)
at cocos2d-js.ebcec.js:20
at Array.111…/CCNode (cocos2d-js.ebcec.js:21334)
at newRequire (cocos2d-js.ebcec.js:19)
at cocos2d-js.ebcec.js:20
at Array.256…/cocos2d/actions (cocos2d-js.ebcec.js:43112)
window.onerror
WAGame.js:11 Uncaught TypeError: Cannot read property ‘Circle’ of undefined
at Array.142…/CCPhysicsTypes (cocos2d-js.ebcec.js:26265)
at newRequire (cocos2d-js.ebcec.js:19)
at cocos2d-js.ebcec.js:20
at Array.145…/…/…/external/box2d/box2d (cocos2d-js.ebcec.js:26516)
at newRequire (cocos2d-js.ebcec.js:19)
at cocos2d-js.ebcec.js:20
at Array.111…/CCNode (cocos2d-js.ebcec.js:21334)
at newRequire (cocos2d-js.ebcec.js:19)
at cocos2d-js.ebcec.js:20
at Array.256…/cocos2d/actions (cocos2d-js.ebcec.js:43112)
142…/CCPhysicsTypes @ cocos2d-js.ebcec.js:26265
newRequire @ cocos2d-js.ebcec.js:19
(anonymous) @ cocos2d-js.ebcec.js:20
145…/…/…/external/box2d/box2d @ cocos2d-js.ebcec.js:26516
newRequire @ cocos2d-js.ebcec.js:19
(anonymous) @ cocos2d-js.ebcec.js:20
111…/CCNode @ cocos2d-js.ebcec.js:21334
newRequire @ cocos2d-js.ebcec.js:19
(anonymous) @ cocos2d-js.ebcec.js:20
256…/cocos2d/actions @ cocos2d-js.ebcec.js:43112
newRequire @ cocos2d-js.ebcec.js:19
(anonymous) @ cocos2d-js.ebcec.js:20
262…/CCBoot @ cocos2d-js.ebcec.js:57472
newRequire @ cocos2d-js.ebcec.js:19
outer @ cocos2d-js.ebcec.js:25
(anonymous) @ cocos2d-js.ebcec.js:27
require @ WAGame.js:11
(anonymous) @ WAGame.js:11
(anonymous) @ main.36219.js? [sm]:180
(anonymous) @ main.36219.js? [sm]:1
require @ WAGame.js:11
(anonymous) @ WAGame.js:11
(anonymous) @ game.js? [sm]:5
require @ WAGame.js:11
(anonymous) @ gamePage.html:90
VM180:3 Tue Jan 02 2018 15:32:25 GMT+0800 (中国标准时间) JS 文件编译
VM180:4 以下 JS 文件过大(超过 500K),已跳过 ES6 转 ES5 和压缩的处理:
(anonymous) @ VM180:4
(anonymous) @ VM180:7
VM180:5 cocos2d-js.ebcec.js