|
请使用QQ关联注册PLM之家,学习更多关于内容,更多精彩原创视频供你学习!
您需要 登录 才可以下载或查看,没有账号?注册
x
5 w K; k. @. W; p- t6 G微信小游戏开发,报错如下
+ N) R: Q/ D# U4 W8 n
, f+ x( b- v p, R9 M w
1 v' L& r0 t4 N( P' }
3 d2 I1 t: @' @Wechat Lib:2.10.1, 2020.1.19 13:07:38
0 r" ?5 } j/ m$ XVM5465:1 gameSubContextThirdScriptError2 ?% f k9 Z) \2 _7 ?8 H
loadBabelMod is not defined/ b8 L* Q$ ]4 `" I6 n0 \/ a
ReferenceError: loadBabelMod is not defined
! _/ d+ L; d" O3 x# _" u1 P at http://127.0.0.1:55201/game/src/ ... list/index.js:192:4$ n* }2 w: p9 b1 E' l& B& t% w
console.error @ VM5465:1/ B, S7 _1 r' O, w
errorReport @ VM5483 WAGame.js:2
, ^1 R. |( |4 C/ d3 S+ m+ [. b" t+ y4 r5 f. l4 L: H* E$ @3 |
& ~. t) u8 d. Y解决办法是在项目设置里面,不要勾选 增强 转换 : J! S# z* W0 ], @
% j9 F6 l2 x6 Z$ ]8 e- I* a
. I' E7 U0 G( \
thirdErrorReport @ VM5483 WAGame.js:2' O0 b ~% S7 N7 I9 H2 h8 @
(anonymous) @ VM5483 WAGame.js:2
! F+ {$ A6 m; d. Rf @ VM5498 WAGameSubContext.js:2
: c7 Z) `, W; @5 }! ^h @ VM5498 WAGameSubContext.js:2
9 e, B2 k* y2 w( E(anonymous) @ VM5498 WAGameSubContext.js:2* A$ w+ q5 r& j4 c- p* a
value @ VM5498 WAGameSubContext.js:2
* F* E# m& y/ j( ]' P(anonymous) @ VM5498 WAGameSubContext.js:25 }* }" ~ Z7 \ E: t* e/ w- X/ F
error (async)* q# R! `$ ]+ x. N5 {/ I
(anonymous) @ VM5498 WAGameSubContext.js:2
5 _: ?- b7 x+ ]6 W1 Z( h(anonymous) @ VM5498 WAGameSubContext.js:2
) n' s* G! `' s. w(anonymous) @ VM5498 WAGameSubContext.js:2
: w6 \6 l( H3 a/ T) H) Z8 hVM5465:1 gameSubContextThirdScriptError7 f' [2 K* W# t& W: c( ]
module "@babel/runtime/helpers/interopRequireDefault" is not defined/ `1 p% p& i1 R- X4 z
Error: module "@babel/runtime/helpers/interopRequireDefault" is not defined
2 y! l( W! S. Z& C at require (http://127.0.0.1:55201/game/__dev__/WAGameSubContext.js:2:88260)" k$ u; c( c$ \8 ]% e/ ]2 K
at http://127.0.0.1:55201/game/__dev__/WAGameSubContext.js:2:88011
, t& l6 L2 G: b8 {+ Q; C$ q at http://127.0.0.1:55201/game/src/ ... -list/index.js:3:300 N" l1 i6 w% Z
at require (http://127.0.0.1:55201/game/__dev__/WAGameSubContext.js:2:88401), q- `! N/ C; m( u; ~* z
at <anonymous>:1:71
0 t0 C7 d. [) u at HTMLScriptElement.scriptLoaded (http://127.0.0.1:55201/game/subcontext:16:23)
; ^$ C2 u' w7 U, j7 |/ W& U, ^ at HTMLScriptElement.script.onload (http://127.0.0.1:55201/game/subcontext:26:22)
2 S' R3 T( O b# D( I9 |( t; ~. l8 n1 S3 ?* w$ [% H
|
|