|
|
请使用QQ关联注册PLM之家,学习更多关于内容,更多精彩原创视频供你学习!
您需要 登录 才可以下载或查看,没有账号?注册
x
. Q+ @9 O' g7 Q. ^# Y
微信小游戏开发,报错如下
3 l4 y% n! u; ?, v$ L
T3 H4 w% n' n, p8 H- c, i
8 f& d3 ~5 O" j2 Y+ [
: i5 {) O& z1 Z; u: @/ LWechat Lib:2.10.1, 2020.1.19 13:07:38
) Q3 i" ]+ K: j: ]: CVM5465:1 gameSubContextThirdScriptError; y9 y' p% p/ v
loadBabelMod is not defined/ i* {+ `5 m9 S- [
ReferenceError: loadBabelMod is not defined
3 i: n) F: {( X y1 r7 m at http://127.0.0.1:55201/game/src/ ... list/index.js:192:41 _% P3 n8 m) H& F K4 t4 R
console.error @ VM5465:1; B5 Q7 |1 x' R; j( Q2 E( Z7 f
errorReport @ VM5483 WAGame.js:2' `& }4 U7 e1 Y0 D& V: w4 u% M
- N; C7 k' n. Z! v4 g/ c/ H9 T E
) X/ \; \5 s: C8 |; B& S- D解决办法是在项目设置里面,不要勾选 增强 转换 / {8 x @1 P( R
/ K4 a5 C7 b( ~9 f. ~7 G' [
$ V9 L: Q) q* H& o' T
thirdErrorReport @ VM5483 WAGame.js:2
" C; D- q) h; l( l/ ~(anonymous) @ VM5483 WAGame.js:2
" f+ S6 D9 R: b) K! V. x, p8 gf @ VM5498 WAGameSubContext.js:2
; S( F& A3 H( p/ n: d- m! Kh @ VM5498 WAGameSubContext.js:2 d0 T7 }4 W- \3 X3 W
(anonymous) @ VM5498 WAGameSubContext.js:2
; C+ n' q2 }: ]' F" f0 Pvalue @ VM5498 WAGameSubContext.js:2
* Z/ f$ p$ n5 m$ ~1 ~% ^! V(anonymous) @ VM5498 WAGameSubContext.js:2
+ d" A1 F% f8 z/ B" M. v7 {error (async)- \$ R: s; N" p. R6 L/ g
(anonymous) @ VM5498 WAGameSubContext.js:2
- k# ]* ^( N& F1 s# ^& b(anonymous) @ VM5498 WAGameSubContext.js:2
& D) z5 S0 B3 r& s8 c% q% t0 E(anonymous) @ VM5498 WAGameSubContext.js:2
' Q: v/ n4 R! v5 @, ?4 TVM5465:1 gameSubContextThirdScriptError
4 A8 K& g5 a# l7 z7 t* V& o, bmodule "@babel/runtime/helpers/interopRequireDefault" is not defined
/ S' {+ K* E3 {Error: module "@babel/runtime/helpers/interopRequireDefault" is not defined
" `+ }, ?; P o6 ^+ _! L at require (http://127.0.0.1:55201/game/__dev__/WAGameSubContext.js:2:88260)2 {0 e8 V- P" c+ h3 H+ t
at http://127.0.0.1:55201/game/__dev__/WAGameSubContext.js:2:880113 u: F( I# a) F( U! D. `' q
at http://127.0.0.1:55201/game/src/ ... -list/index.js:3:30
4 u3 m+ o9 s3 p at require (http://127.0.0.1:55201/game/__dev__/WAGameSubContext.js:2:88401); T2 A) ?4 ]" R$ p2 n
at <anonymous>:1:71) [. q* Z! H2 ?$ J
at HTMLScriptElement.scriptLoaded (http://127.0.0.1:55201/game/subcontext:16:23), ]7 B. O; d, v
at HTMLScriptElement.script.onload (http://127.0.0.1:55201/game/subcontext:26:22)
: U5 `) F7 T9 ]4 g: G: Z/ j. h9 ], [4 X0 v7 \+ F
|
|