|
|
请使用QQ关联注册PLM之家,学习更多关于内容,更多精彩原创视频供你学习!
您需要 登录 才可以下载或查看,没有账号?注册
x
% j4 e/ Z& D( `/ z1 X微信小游戏开发,报错如下
- l7 ^# U6 N |8 L" [# A
/ G0 W) M) ~" D( p! x) T6 I
" [3 b; m' r4 E9 E0 t
3 T0 U" O$ F: ]5 `5 ^4 D kWechat Lib:2.10.1, 2020.1.19 13:07:38! M$ V% V7 @. \
VM5465:1 gameSubContextThirdScriptError! z* T& u* e$ a# q" A4 u; ]+ \& x% s
loadBabelMod is not defined
( K8 a; y3 O; B8 RReferenceError: loadBabelMod is not defined, c4 c o* K% @3 i
at http://127.0.0.1:55201/game/src/ ... list/index.js:192:4
u6 X+ h w' b# [5 vconsole.error @ VM5465:1+ I" J2 N: E( D) B: v; H; m8 R
errorReport @ VM5483 WAGame.js:2
8 U' G( t4 T$ O- ?9 i4 y0 M4 a2 j8 W" F; D( d0 K! h
- e: A+ a0 n3 M7 Q7 ?# J2 M解决办法是在项目设置里面,不要勾选 增强 转换
+ E( ?* y, o0 e8 G! o1 W: \1 H; j! z. l, i3 W3 K1 n) d
: {7 C& a( o/ O# O* BthirdErrorReport @ VM5483 WAGame.js:26 z! H2 j3 t0 H2 n
(anonymous) @ VM5483 WAGame.js:2* L* @4 E' z7 j5 x: R$ y$ ~" J
f @ VM5498 WAGameSubContext.js:2
3 Y3 }! } U, C( ^- |- fh @ VM5498 WAGameSubContext.js:2: C1 }3 d' t. U" S& i! a& |% L
(anonymous) @ VM5498 WAGameSubContext.js:2
- h9 z& c3 O) E( E, w+ b# zvalue @ VM5498 WAGameSubContext.js:2
3 m4 N& f- `/ y: Z4 f, l(anonymous) @ VM5498 WAGameSubContext.js:2
$ i" \; |7 r1 ferror (async)
2 E: j2 r8 ]+ u& k$ L5 F' }, k! }(anonymous) @ VM5498 WAGameSubContext.js:2# K ~/ x1 f8 ?1 N3 c
(anonymous) @ VM5498 WAGameSubContext.js:2) H# e; Y T# A! ?0 i; D, A# b
(anonymous) @ VM5498 WAGameSubContext.js:20 I; u6 T8 M8 i4 z% Y7 d H! Y
VM5465:1 gameSubContextThirdScriptError
& I1 t0 C9 S& t3 v) Z7 cmodule "@babel/runtime/helpers/interopRequireDefault" is not defined
$ z1 m) q4 U$ O9 v* m. Y7 n. ?2 \3 |8 k% dError: module "@babel/runtime/helpers/interopRequireDefault" is not defined; O5 }0 \7 I8 b2 G. R
at require (http://127.0.0.1:55201/game/__dev__/WAGameSubContext.js:2:88260)$ F' L% V4 M. k
at http://127.0.0.1:55201/game/__dev__/WAGameSubContext.js:2:88011
( k/ D* W+ c& _ at http://127.0.0.1:55201/game/src/ ... -list/index.js:3:30
& R! d( H) h2 l5 t, C, }8 r at require (http://127.0.0.1:55201/game/__dev__/WAGameSubContext.js:2:88401)
9 K& s" {* s+ a/ i# w at <anonymous>:1:71
0 P/ @1 E- s6 c; q9 @; T at HTMLScriptElement.scriptLoaded (http://127.0.0.1:55201/game/subcontext:16:23)1 b1 k; Z2 q* q8 [2 l$ |
at HTMLScriptElement.script.onload (http://127.0.0.1:55201/game/subcontext:26:22)
/ q7 ^1 S, i# \! c
9 A% D+ M' \/ s |
|