查看: 2854|回复: 0

[游戏开发] 微信小游戏开发--报错ReferenceError: loadBabelMod is not defined

[复制链接]

6

主题

4

回帖

60

积分

管理员

积分
60
发表于 2020-2-10 18:25:47 | 显示全部楼层 |阅读模式

请使用QQ关联注册PLM之家,学习更多关于内容,更多精彩原创视频供你学习!

您需要 登录 才可以下载或查看,没有账号?注册

×
1 `2 ]7 N' P9 c* {' o; _9 e, w
微信小游戏开发,报错如下
1 }& w+ c$ g/ A6 e8 i
5 h9 A+ l( B, F$ k7 m Xnip2020-02-10_18-21-27.jpg ; T# }, x3 `; a$ m- y
$ f, H5 V3 r5 H, y
Wechat Lib:2.10.1, 2020.1.19 13:07:38
, C% P: N3 f9 W$ yVM5465:1 gameSubContextThirdScriptError& ?. ]! Y. f3 p$ D* K7 m
loadBabelMod is not defined! s+ T8 l4 ^" ?
ReferenceError: loadBabelMod is not defined
- k% l# y+ t- m% ~* L2 [6 @    at http://127.0.0.1:55201/game/src/ ... list/index.js:192:4
8 F- b" u% J1 {) p- }/ Kconsole.error @ VM5465:1
! Y2 g" v2 L1 b* O! jerrorReport @ VM5483 WAGame.js:2
5 c' R; r! [. r5 g/ r
/ g9 I2 _7 T( u1 Y# r6 [0 ^5 [$ U8 @- X
解决办法是在项目设置里面,不要勾选 增强 转换  , a0 t; F0 K3 O# |) j8 [9 B& D

, M5 V/ F$ s) z- ^7 x Xnip2020-02-10_18-22-09.jpg
* }6 X. o0 G( |7 U+ U8 {9 GthirdErrorReport @ VM5483 WAGame.js:2
; h! u% P: ]( m: C' i8 Z& v- ~(anonymous) @ VM5483 WAGame.js:27 [& z4 q  Y  f3 L, E$ G# [
f @ VM5498 WAGameSubContext.js:2: r7 y# a7 H/ h- O8 p; e6 V" t1 f. v
h @ VM5498 WAGameSubContext.js:2
- t. }% t' b8 J# E* {(anonymous) @ VM5498 WAGameSubContext.js:2
4 K2 x' E+ ]( P% I+ gvalue @ VM5498 WAGameSubContext.js:2
: w& A. o5 Y: e1 w8 W(anonymous) @ VM5498 WAGameSubContext.js:21 D2 T9 w5 @& h" ~" B: R% `; P3 R
error (async). I, m/ k4 p( Y2 P
(anonymous) @ VM5498 WAGameSubContext.js:2
7 M6 Z( d* E! L0 W(anonymous) @ VM5498 WAGameSubContext.js:2) ^# ~7 }8 W) a" U" E. j
(anonymous) @ VM5498 WAGameSubContext.js:2  `, {- G% c5 M
VM5465:1 gameSubContextThirdScriptError6 a3 |6 u( G6 a, L2 ^' s
module "@babel/runtime/helpers/interopRequireDefault" is not defined+ o# c; ~4 E+ e8 R1 V" y
Error: module "@babel/runtime/helpers/interopRequireDefault" is not defined
& I' l, {) b8 G6 W$ {3 j  {    at require (http://127.0.0.1:55201/game/__dev__/WAGameSubContext.js:2:88260)
/ E1 R: U, _" k' C0 K0 ~5 [3 @- R5 O3 a    at http://127.0.0.1:55201/game/__dev__/WAGameSubContext.js:2:880118 o7 {9 @" q3 p% ^# k1 k6 F/ p
    at http://127.0.0.1:55201/game/src/ ... -list/index.js:3:30
* V2 S2 S9 v/ d( |6 \3 x' d3 V    at require (http://127.0.0.1:55201/game/__dev__/WAGameSubContext.js:2:88401), x2 g5 B! H% z8 X1 V  d  x( K, B
    at <anonymous>:1:71
9 y" ~6 i& A+ K, x: m  E    at HTMLScriptElement.scriptLoaded (http://127.0.0.1:55201/game/subcontext:16:23)
3 I& e. s9 m" W" q    at HTMLScriptElement.script.onload (http://127.0.0.1:55201/game/subcontext:26:22)( F1 F6 Q* i  N! W. i9 {
) z" ?6 s, D& e; T3 w1 i
上海点团信息科技有限公司,承接UG NX,CATIA,CREO,Solidworks 等CAx软件,Teamcenter,3D Experience等PLM软件,工业4.0数字化软件的实施\二次开发\培训相关业务,详情QQ 939801026 Tel 18301858168 网址 www.doteam.tech
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

在本版发帖
关注公众号
QQ客服返回顶部