微信小游戏开发--报错ReferenceError: loadBabelMod is not defined
微信小游戏开发,报错如下
Wechat Lib:2.10.1, 2020.1.19 13:07:38
VM5465:1 gameSubContextThirdScriptError
loadBabelMod is not defined
ReferenceError: loadBabelMod is not defined
at http://127.0.0.1:55201/game/src/open-context/rank-list/index.js:192:4
console.error @ VM5465:1
errorReport @ VM5483 WAGame.js:2
解决办法是在项目设置里面,不要勾选 增强 转换
thirdErrorReport @ VM5483 WAGame.js:2
(anonymous) @ VM5483 WAGame.js:2
f @ VM5498 WAGameSubContext.js:2
h @ VM5498 WAGameSubContext.js:2
(anonymous) @ VM5498 WAGameSubContext.js:2
value @ VM5498 WAGameSubContext.js:2
(anonymous) @ VM5498 WAGameSubContext.js:2
error (async)
(anonymous) @ VM5498 WAGameSubContext.js:2
(anonymous) @ VM5498 WAGameSubContext.js:2
(anonymous) @ VM5498 WAGameSubContext.js:2
VM5465:1 gameSubContextThirdScriptError
module "@babel/runtime/helpers/interopRequireDefault" is not defined
Error: module "@babel/runtime/helpers/interopRequireDefault" is not defined
at require (http://127.0.0.1:55201/game/__dev__/WAGameSubContext.js:2:88260)
at http://127.0.0.1:55201/game/__dev__/WAGameSubContext.js:2:88011
at http://127.0.0.1:55201/game/src/open-context/rank-list/index.js:3:30
at require (http://127.0.0.1:55201/game/__dev__/WAGameSubContext.js:2:88401)
at <anonymous>:1:71
at HTMLScriptElement.scriptLoaded (http://127.0.0.1:55201/game/subcontext:16:23)
at HTMLScriptElement.script.onload (http://127.0.0.1:55201/game/subcontext:26:22)
页:
[1]