|
请使用QQ关联注册PLM之家,学习更多关于内容,更多精彩原创视频供你学习!
您需要 登录 才可以下载或查看,没有账号?注册
x
2 R0 x6 q0 Y3 L5 @
微信小游戏开发,报错如下1 i9 H0 r& i) S1 e# _- m
6 L9 t+ U- w4 v9 m& E8 U
) \* z) d# G# ^, q8 C7 @: I9 _# \' o. O+ E2 f/ ]3 s' ~
Wechat Lib:2.10.1, 2020.1.19 13:07:38
0 C* L/ l$ D: @5 n$ TVM5465:1 gameSubContextThirdScriptError
# V# i- _# n; C( l% g; Y m; \7 ~: rloadBabelMod is not defined. G8 r- u, `9 N+ i9 P9 P, H
ReferenceError: loadBabelMod is not defined- ]8 a3 `+ O' s0 [+ S+ O
at http://127.0.0.1:55201/game/src/ ... list/index.js:192:47 @. s" u, Y# F: f& y0 @6 T
console.error @ VM5465:1# c I/ |) }$ z
errorReport @ VM5483 WAGame.js:26 M- j* K% _2 t, C
3 d( K) s4 d2 x$ s0 V
) w2 q7 w$ O+ C4 R% S解决办法是在项目设置里面,不要勾选 增强 转换 # _* f1 A6 p2 h0 g2 s
+ z& Z+ ^! k, M& x# z. R" e
! q5 x# ~ ^) H! C( E
thirdErrorReport @ VM5483 WAGame.js:2
& a% h& k- c, w! h9 T% q$ J(anonymous) @ VM5483 WAGame.js:27 F+ l2 l& U* x
f @ VM5498 WAGameSubContext.js:25 V v* D1 j% l& `9 ?, d" y
h @ VM5498 WAGameSubContext.js:2
+ x' b( a7 Y2 l q+ P& U(anonymous) @ VM5498 WAGameSubContext.js:2
8 d, ~; ~8 T* y7 Ovalue @ VM5498 WAGameSubContext.js:2
* }( L5 M2 J; G) h0 G' Z" u(anonymous) @ VM5498 WAGameSubContext.js:29 I4 E1 w$ Z u/ u" b
error (async)8 z3 j# W. Q0 K' L7 j9 W" Y
(anonymous) @ VM5498 WAGameSubContext.js:2( f2 ~/ b$ \+ x. c2 y3 f5 J! q
(anonymous) @ VM5498 WAGameSubContext.js:25 p0 J7 g9 H% g% x' }" P% r
(anonymous) @ VM5498 WAGameSubContext.js:2# e. a! V, H, ]
VM5465:1 gameSubContextThirdScriptError& H% W6 `3 \: J1 H% y3 C. ?
module "@babel/runtime/helpers/interopRequireDefault" is not defined
* @2 f3 Q# u( S& S4 {. BError: module "@babel/runtime/helpers/interopRequireDefault" is not defined8 }5 ]7 p- O- k6 |9 y1 Y
at require (http://127.0.0.1:55201/game/__dev__/WAGameSubContext.js:2:88260); s6 q1 W! I( ]' J+ h/ ]
at http://127.0.0.1:55201/game/__dev__/WAGameSubContext.js:2:88011( I! U5 e3 K* r8 Y1 F3 I( ~3 R
at http://127.0.0.1:55201/game/src/ ... -list/index.js:3:304 D0 d/ J5 t% r0 m/ I# X" L
at require (http://127.0.0.1:55201/game/__dev__/WAGameSubContext.js:2:88401)5 Q/ _6 L" p4 H" I4 g7 w
at <anonymous>:1:71; Y; M! h* I: _; K- f/ w
at HTMLScriptElement.scriptLoaded (http://127.0.0.1:55201/game/subcontext:16:23) X2 p2 M1 ?3 z" j
at HTMLScriptElement.script.onload (http://127.0.0.1:55201/game/subcontext:26:22)
) Q: _) Y/ i- X8 g; {# [5 ]$ V! C5 W; V+ g' [) Y: s! B% V
|
|