|
请使用QQ关联注册PLM之家,学习更多关于内容,更多精彩原创视频供你学习!
您需要 登录 才可以下载或查看,没有账号?注册
x
/ P* M8 l0 S. C3 |
微信小游戏开发,报错如下
) ~( V- u, J; m0 m- y
- c/ v2 B1 V' ~( _
* I. l1 P7 [, c z* \& Q
6 `, F5 d, [# G7 O- P [$ FWechat Lib:2.10.1, 2020.1.19 13:07:38
! C9 N' l- [7 e. b: |VM5465:1 gameSubContextThirdScriptError
4 N% T; A! ]) P3 R$ R' tloadBabelMod is not defined7 x/ [. Y, N: m% [- {) b% N1 q: X6 _
ReferenceError: loadBabelMod is not defined
# t# A, ?) Z2 @% ?% ], a$ [& ^ A" m! `. u at http://127.0.0.1:55201/game/src/ ... list/index.js:192:49 @0 [! R5 M/ R8 H
console.error @ VM5465:13 G' Y1 X4 l( y; r$ z
errorReport @ VM5483 WAGame.js:2/ B1 r; @$ l4 O$ H" r3 s& B
8 H+ r* L2 p9 u& f0 k
0 z. [* ~8 h( s6 g/ J# I解决办法是在项目设置里面,不要勾选 增强 转换 & ?! c; \, u3 |4 |# b- r
- Y6 g/ G. F3 C+ S: y
1 ~! h% c, J1 s4 H4 p& x
thirdErrorReport @ VM5483 WAGame.js:2
$ X2 D% }3 j* t2 c5 a(anonymous) @ VM5483 WAGame.js:2
$ a1 `0 L: Y4 `f @ VM5498 WAGameSubContext.js:2
/ H" v+ w9 b. p& ih @ VM5498 WAGameSubContext.js:26 E" p$ d2 f8 G+ l. U ]
(anonymous) @ VM5498 WAGameSubContext.js:2
4 C$ P% R& \: i+ x7 xvalue @ VM5498 WAGameSubContext.js:23 v i3 g1 {, H) l- x; K' Z3 i
(anonymous) @ VM5498 WAGameSubContext.js:28 u5 _0 `; B0 {4 W# I7 l; |7 `
error (async)1 A9 M) I, Y( Y' S) C
(anonymous) @ VM5498 WAGameSubContext.js:2
7 ^+ o8 V- B: r. q, z(anonymous) @ VM5498 WAGameSubContext.js:2/ I, {$ } V N( Y) ]
(anonymous) @ VM5498 WAGameSubContext.js:2
. q% }- u! X6 ?$ r2 w( HVM5465:1 gameSubContextThirdScriptError
8 L2 y: h8 Y) Pmodule "@babel/runtime/helpers/interopRequireDefault" is not defined2 i4 T. O4 b( i2 w; `" R# O7 e
Error: module "@babel/runtime/helpers/interopRequireDefault" is not defined# g( l& I) I. N6 W9 e/ Z
at require (http://127.0.0.1:55201/game/__dev__/WAGameSubContext.js:2:88260)
# u3 v s* g5 ?: s# n" f at http://127.0.0.1:55201/game/__dev__/WAGameSubContext.js:2:880110 x/ @. C; R: t8 h& N" w/ L
at http://127.0.0.1:55201/game/src/ ... -list/index.js:3:30
5 c' Y. C- |9 ]0 a+ _ at require (http://127.0.0.1:55201/game/__dev__/WAGameSubContext.js:2:88401)
! O \9 p3 l! `6 C) ~! _4 H0 U at <anonymous>:1:71
- P2 j9 g R( J' W5 W at HTMLScriptElement.scriptLoaded (http://127.0.0.1:55201/game/subcontext:16:23)
) V; `+ R U1 \/ ?) n, o at HTMLScriptElement.script.onload (http://127.0.0.1:55201/game/subcontext:26:22)
$ L/ |: N9 v: j' n! k Q' t- A9 q7 g# y0 [2 U- N
|
|