|
请使用QQ关联注册PLM之家,学习更多关于内容,更多精彩原创视频供你学习!
您需要 登录 才可以下载或查看,没有账号?注册
x
' s' g& D5 Q5 m9 `/ c% ^% q! x) F微信小游戏开发,报错如下
- i, m% V# I, q$ e. K
# f1 G! C4 c: \2 r! ^3 |" c
) m7 U* d1 U4 V9 d, Y
7 t4 a2 ~$ {: U4 fWechat Lib:2.10.1, 2020.1.19 13:07:38% Q8 E U" K! H7 V
VM5465:1 gameSubContextThirdScriptError* C3 R4 p* l) V3 e8 s
loadBabelMod is not defined
2 f% h7 x P. U# Z# I5 |ReferenceError: loadBabelMod is not defined( p/ J! S$ y4 _6 [
at http://127.0.0.1:55201/game/src/ ... list/index.js:192:4
2 p, l5 B( t& Jconsole.error @ VM5465:1# P% T+ `8 S, }7 w) R* {
errorReport @ VM5483 WAGame.js:2
$ X+ Q0 D- S2 O" O# z1 |$ y5 O& G$ I8 ~% w
6 a) m2 `" R/ A6 A6 y# j, P( Z/ R
解决办法是在项目设置里面,不要勾选 增强 转换
( Z7 b- ^+ O' M {1 f" r W2 T& x1 R
/ s: H/ m* J0 ~. f
thirdErrorReport @ VM5483 WAGame.js:2
q+ y$ M0 a0 d0 \! h% p8 i- s! I2 d(anonymous) @ VM5483 WAGame.js:22 d- P; ]3 L" f% F+ W
f @ VM5498 WAGameSubContext.js:2, Y" Q! w* A3 V1 }
h @ VM5498 WAGameSubContext.js:2
S' X4 c0 i3 j/ q) H; j(anonymous) @ VM5498 WAGameSubContext.js:2' j2 H0 p1 `* y% J- X
value @ VM5498 WAGameSubContext.js:2
; f9 S: O# a3 X' {1 I' u(anonymous) @ VM5498 WAGameSubContext.js:2
$ }# N0 q/ h# C2 Q2 Q+ h0 T5 t. ^error (async)
3 l3 ~, ? f. Y. u8 L1 e8 p. u+ Z(anonymous) @ VM5498 WAGameSubContext.js:25 x2 x- Z! O$ Y: @* H
(anonymous) @ VM5498 WAGameSubContext.js:2
! z) Z1 v$ h, P(anonymous) @ VM5498 WAGameSubContext.js:2
# |2 u$ [$ { p' t, j! lVM5465:1 gameSubContextThirdScriptError* i2 Z; F/ }, Y" x r+ P+ r( u/ ^
module "@babel/runtime/helpers/interopRequireDefault" is not defined' s) D( h2 ^$ ?1 }' U; z9 c( Q
Error: module "@babel/runtime/helpers/interopRequireDefault" is not defined- J7 r8 X* ?1 q! F* @
at require (http://127.0.0.1:55201/game/__dev__/WAGameSubContext.js:2:88260)
$ a* I" k& m% Y% D" P3 T at http://127.0.0.1:55201/game/__dev__/WAGameSubContext.js:2:88011/ J, K9 l) N7 e
at http://127.0.0.1:55201/game/src/ ... -list/index.js:3:30
X# g! B& e4 \) t( T at require (http://127.0.0.1:55201/game/__dev__/WAGameSubContext.js:2:88401). k7 S5 h+ A$ i
at <anonymous>:1:71
; O9 D$ _7 o' n at HTMLScriptElement.scriptLoaded (http://127.0.0.1:55201/game/subcontext:16:23)' H0 \& K) j$ l
at HTMLScriptElement.script.onload (http://127.0.0.1:55201/game/subcontext:26:22)
) T: d8 X( \0 E) @6 w, c7 `) M/ A# ^' p
|
|