|
请使用QQ关联注册PLM之家,学习更多关于内容,更多精彩原创视频供你学习!
您需要 登录 才可以下载或查看,没有账号?注册
x
4 r2 x6 L0 t& n. [
微信小游戏开发,报错如下
" O# o. F# z0 Q }: P( C
# {: r; @8 o) H1 c8 i
# r9 `, V" t# f* B( c
+ M3 P( k3 G% C! Q- hWechat Lib:2.10.1, 2020.1.19 13:07:380 q* J3 s; Z9 K1 N
VM5465:1 gameSubContextThirdScriptError
6 K9 o2 I7 h, E& ZloadBabelMod is not defined
0 N! W! l. V. lReferenceError: loadBabelMod is not defined5 W3 R# [" P1 V# ^5 {7 {9 f6 g
at http://127.0.0.1:55201/game/src/ ... list/index.js:192:4# F1 H- b+ u% s- z) a. R& F. P
console.error @ VM5465:13 Z( I% d7 ~$ n) O/ h" q% f
errorReport @ VM5483 WAGame.js:2
, A9 I( y( Z J3 g s+ r# p% H8 t" C2 b' h% P( ~( t3 o
. y/ v. F1 P, r解决办法是在项目设置里面,不要勾选 增强 转换 ; p" b8 n/ W& V9 f6 u0 `8 K
& z: c! E9 ?: C
# y5 e6 N D" l( V7 k( i
thirdErrorReport @ VM5483 WAGame.js:29 f! u9 s$ q2 A; A, c
(anonymous) @ VM5483 WAGame.js:2
5 a& }, I* N& K/ Z7 G" M$ w. G) ef @ VM5498 WAGameSubContext.js:2' d% n" l/ V! I- q
h @ VM5498 WAGameSubContext.js:2
$ ?5 P& q; x5 ^7 p) l& v( J(anonymous) @ VM5498 WAGameSubContext.js:29 f" r4 v, f6 d0 d% V
value @ VM5498 WAGameSubContext.js:2
, }4 w0 Q1 d7 ?, I# s; x$ B(anonymous) @ VM5498 WAGameSubContext.js:2
+ V8 K4 K7 y* @; X( Merror (async), o( T c5 z- w4 r& P8 ]5 |
(anonymous) @ VM5498 WAGameSubContext.js:2
' G# s$ A4 H# ?+ r2 e(anonymous) @ VM5498 WAGameSubContext.js:29 o$ o. r) Y. e( d
(anonymous) @ VM5498 WAGameSubContext.js:2
; T5 s" t) V a5 r5 I4 FVM5465:1 gameSubContextThirdScriptError, f s8 W1 M1 Z
module "@babel/runtime/helpers/interopRequireDefault" is not defined: W' j: u% P3 S/ {+ }% ]6 y
Error: module "@babel/runtime/helpers/interopRequireDefault" is not defined
; r9 H2 n" A) W* g7 W) k; u' s at require (http://127.0.0.1:55201/game/__dev__/WAGameSubContext.js:2:88260)* `3 m6 D S) g# d; R! N
at http://127.0.0.1:55201/game/__dev__/WAGameSubContext.js:2:88011
( j; a* c! w% v7 X, B0 ~6 u at http://127.0.0.1:55201/game/src/ ... -list/index.js:3:30
- E: z6 i z& H. _2 ?, F4 M6 { at require (http://127.0.0.1:55201/game/__dev__/WAGameSubContext.js:2:88401)
# m: p+ {8 Y6 T+ X: p at <anonymous>:1:71) N% p" @) P" j7 _, G
at HTMLScriptElement.scriptLoaded (http://127.0.0.1:55201/game/subcontext:16:23)
8 r! y; l+ u7 u4 G" u. ? at HTMLScriptElement.script.onload (http://127.0.0.1:55201/game/subcontext:26:22)5 C( R) B* m/ n
' \4 P4 u! u5 g! F |
|