|
请使用QQ关联注册PLM之家,学习更多关于内容,更多精彩原创视频供你学习!
您需要 登录 才可以下载或查看,没有账号?注册
x
6 i: f5 e1 H6 P微信小游戏开发,报错如下) Y- w- j* O8 I3 d
$ t' g0 T: L( f7 E5 G
( P/ {6 d$ S# s3 ]2 {: `
, Y8 O q8 v( [
Wechat Lib:2.10.1, 2020.1.19 13:07:38# C0 G5 V( ~) N1 c. y6 R( d
VM5465:1 gameSubContextThirdScriptError
* i# V% A: U1 A P3 rloadBabelMod is not defined, I7 ?7 H9 l! f1 ^' T
ReferenceError: loadBabelMod is not defined" c: `1 z( O; n- a1 d* B
at http://127.0.0.1:55201/game/src/ ... list/index.js:192:4
3 `6 E! o* C3 Yconsole.error @ VM5465:14 h9 O7 O( [3 p8 Y6 A( w: r( N
errorReport @ VM5483 WAGame.js:27 {/ u/ a) j' w, P- g2 N( Y
7 f! ~ |; Z" c: a* i6 o
0 j3 }& g" R/ s' t: I. N- |
解决办法是在项目设置里面,不要勾选 增强 转换 + K6 E* c9 `* \; U1 x3 O, ?
/ d5 O: k6 j9 E) `0 Q# m
' p: u% A1 r0 D/ B9 q* A
thirdErrorReport @ VM5483 WAGame.js:2( a; m' P$ N% M N0 Z% \
(anonymous) @ VM5483 WAGame.js:2
2 k/ D L' {' E- `% lf @ VM5498 WAGameSubContext.js:2
3 d' a9 a; x) e5 p7 d2 bh @ VM5498 WAGameSubContext.js:2
) J: R) |% ~# O( Y4 R(anonymous) @ VM5498 WAGameSubContext.js:28 `& P7 J# S, z& T+ a
value @ VM5498 WAGameSubContext.js:28 v( m% a. |7 ~+ L
(anonymous) @ VM5498 WAGameSubContext.js:2' g' m# R% E/ `' ?6 g: D7 \
error (async)
* w0 x' V* i* m+ B1 h# K(anonymous) @ VM5498 WAGameSubContext.js:2' l- E; _/ r% X6 T% R; h
(anonymous) @ VM5498 WAGameSubContext.js:24 Z0 ^, a2 s/ c' A$ e/ C" ~
(anonymous) @ VM5498 WAGameSubContext.js:2
& E) T/ D2 w; s4 H/ PVM5465:1 gameSubContextThirdScriptError. T" f$ }, `9 Y9 ^" w- T1 V
module "@babel/runtime/helpers/interopRequireDefault" is not defined
) G/ ?( e8 f+ c D0 ~Error: module "@babel/runtime/helpers/interopRequireDefault" is not defined D- I* r% c: |8 {
at require (http://127.0.0.1:55201/game/__dev__/WAGameSubContext.js:2:88260)
" c& T4 S. g; D2 O at http://127.0.0.1:55201/game/__dev__/WAGameSubContext.js:2:88011) P# L/ z, C' q4 `+ x& r. C
at http://127.0.0.1:55201/game/src/ ... -list/index.js:3:30" C, g+ e3 Z/ T
at require (http://127.0.0.1:55201/game/__dev__/WAGameSubContext.js:2:88401)
. |) V* i% [+ [* t1 l% _& H" t at <anonymous>:1:713 ^/ X/ L6 x% e! i2 \1 j5 v
at HTMLScriptElement.scriptLoaded (http://127.0.0.1:55201/game/subcontext:16:23)
% k0 j; I1 L9 o; t. _8 t at HTMLScriptElement.script.onload (http://127.0.0.1:55201/game/subcontext:26:22)+ ?/ d \+ a: A6 p' ?! _- g
7 Y& W. C" ^) L$ S7 f. t$ o |
|