|
|
请使用QQ关联注册PLM之家,学习更多关于内容,更多精彩原创视频供你学习!
您需要 登录 才可以下载或查看,没有账号?注册
x
( n+ r+ h: s4 d
微信小游戏开发,报错如下3 ~, Q3 i0 D: O* C0 N- G5 w5 U
+ n0 m& x! C2 Q4 u
! {+ K+ b1 I! q* q4 K3 _+ \3 Z, f
B7 A. z* ?3 O, e _Wechat Lib:2.10.1, 2020.1.19 13:07:38
, }/ ]+ R% H% s) m' PVM5465:1 gameSubContextThirdScriptError0 P2 x6 F% H' I2 N/ I
loadBabelMod is not defined
7 b% f& Y5 U5 S- p3 S2 KReferenceError: loadBabelMod is not defined; d2 b9 c2 F; g3 a# ?7 }5 f. h
at http://127.0.0.1:55201/game/src/ ... list/index.js:192:4* g: Q0 @* K( O0 A2 e3 c
console.error @ VM5465:17 M& E3 t3 }- S( X* r/ G# S
errorReport @ VM5483 WAGame.js:2
. i: B( T2 H; p* }* T' H0 J5 ?* [# E
5 _! l. Z) i- ]) P
解决办法是在项目设置里面,不要勾选 增强 转换
$ Y$ j+ D6 V3 i, v6 v+ m# q. X+ R' e
* n+ B7 C) b. W. g" IthirdErrorReport @ VM5483 WAGame.js:24 [3 Z$ t# O* z2 w9 k9 d; ?; k
(anonymous) @ VM5483 WAGame.js:2$ ?3 `5 Y" x# E8 r* @
f @ VM5498 WAGameSubContext.js:24 w l+ o* q; k5 h8 @5 K& r A
h @ VM5498 WAGameSubContext.js:2/ k% ^ g, \, D( h" W7 _* L
(anonymous) @ VM5498 WAGameSubContext.js:2
& _1 z' k; n8 t- D& m/ dvalue @ VM5498 WAGameSubContext.js:2
4 P( d; W K. q(anonymous) @ VM5498 WAGameSubContext.js:2
2 B7 _+ e( S& E# H5 R. X( g, `error (async)
: ~+ q+ {- a, n; i" r(anonymous) @ VM5498 WAGameSubContext.js:22 Z2 t# \0 Z* b! ]3 O0 Z( _
(anonymous) @ VM5498 WAGameSubContext.js:20 U; C4 q# U! S; H4 u2 x
(anonymous) @ VM5498 WAGameSubContext.js:2
% o2 x; `2 i, L: k# H! |7 nVM5465:1 gameSubContextThirdScriptError) p% v" m; X9 c# O
module "@babel/runtime/helpers/interopRequireDefault" is not defined( ?# [, H) K; ^$ q% f) F
Error: module "@babel/runtime/helpers/interopRequireDefault" is not defined* I& q; ?2 l$ H& O
at require (http://127.0.0.1:55201/game/__dev__/WAGameSubContext.js:2:88260)
_# K- l8 o! h$ x% y at http://127.0.0.1:55201/game/__dev__/WAGameSubContext.js:2:88011) |! y0 V( y7 l3 U
at http://127.0.0.1:55201/game/src/ ... -list/index.js:3:30
: I- n# C, b: M/ ?/ X* p* R at require (http://127.0.0.1:55201/game/__dev__/WAGameSubContext.js:2:88401)( ~/ n' G0 T% N/ F" K( \0 n7 [" a
at <anonymous>:1:71
) K6 {; \4 ~4 F6 V) y+ [ at HTMLScriptElement.scriptLoaded (http://127.0.0.1:55201/game/subcontext:16:23)
& f9 K) T. \+ s7 |. s3 F, [ at HTMLScriptElement.script.onload (http://127.0.0.1:55201/game/subcontext:26:22)
4 j; T2 \# \8 _- b0 M3 r3 |1 ^3 y, e. T4 J. H" |4 ?( }( ?
|
|