微信小游戏报错

在creator中调试没遇见问题,但是发布微信小游戏之后运行报了这个错

VM16 WAGame.js:2 TypeError: Cannot read property ‘prototype’ of undefined
at l.start (index.js:310)
at cocos2d-js-min.js:1
at A.r._invoke (cocos2d-js-min.js:1)
at A.r.invoke (cocos2d-js-min.js:1)
at A.r.startPhase (cocos2d-js-min.js:1)
at define.49.cc.Director.mainLoop (cocos2d-js-min.js:1)
at Function.t (adapter-min.js:318)
at VM31 WAGameSubContext.js:2

我也遇到了这个问题,有解决方案吗?
TypeError: Cannot read property ‘prototype’ of undefined
at inheritsLoose (bundle.feb7a.js:2)
at index.18037.js:5
at Object.execute (index.18037.js:5)
at i (system.bundle.3f3f2.js:1)
at E (system.bundle.3f3f2.js:1)
at system.bundle.3f3f2.js:1
at Array.forEach ()
at E (system.bundle.3f3f2.js:1)
at system.bundle.3f3f2.js:1
at Array.forEach ()(env: Windows,mg,1.05.2203104; lib: 2.23.4)