|
请使用QQ关联注册PLM之家,学习更多关于内容,更多精彩原创视频供你学习!
您需要 登录 才可以下载或查看,没有账号?注册
x
9 X2 \0 S/ k1 s微信小游戏开发,报错如下
2 g& z3 n# c1 d# J) X( v% V
1 t6 h* j) u! n! @5 L
5 c8 E$ y% s! ?6 g9 _7 [8 |1 s& g# O6 p1 q4 x) B
Wechat Lib:2.10.1, 2020.1.19 13:07:38. a1 C6 P0 J2 O( q+ ?& v; H: N
VM5465:1 gameSubContextThirdScriptError- P* ], ]% ^+ L9 ]+ d2 i9 I
loadBabelMod is not defined6 S& H5 _; I) }9 W B
ReferenceError: loadBabelMod is not defined
: O2 u! Z0 B- x% J, s at http://127.0.0.1:55201/game/src/ ... list/index.js:192:4; ^& z! I1 P1 V9 ]0 [" Q9 ]5 z4 {
console.error @ VM5465:1
- L7 ]) U, I; ^, t/ G; T1 derrorReport @ VM5483 WAGame.js:2+ e- T5 B8 r: E# \5 I. M- U
2 ~) _( Y0 N z P% ?" j
, ?7 Q6 J3 q! t+ e
解决办法是在项目设置里面,不要勾选 增强 转换 4 z+ f5 Q! b4 ?8 a4 O9 e0 a2 s
5 v- x$ j9 n$ Y
# V% I9 d l+ {! H, HthirdErrorReport @ VM5483 WAGame.js:29 ?1 {4 I5 u0 I! o. y
(anonymous) @ VM5483 WAGame.js:2& ?3 O4 @3 x# z
f @ VM5498 WAGameSubContext.js:25 ]! c+ |# r: A: a, B; e, C" ~
h @ VM5498 WAGameSubContext.js:21 f3 K. k' x, K# v: o
(anonymous) @ VM5498 WAGameSubContext.js:27 J: Q G: d' u/ X, P6 M: k
value @ VM5498 WAGameSubContext.js:28 n) K9 Y) J+ ]% ]/ D
(anonymous) @ VM5498 WAGameSubContext.js:2) Z% B2 J6 i5 m: w; f% k; Y
error (async)8 {) L, d2 P* T" c
(anonymous) @ VM5498 WAGameSubContext.js:2
1 {* D" }, q9 [3 k. M5 k0 J(anonymous) @ VM5498 WAGameSubContext.js:2 M' q1 q- c# c: |* ]2 i' B
(anonymous) @ VM5498 WAGameSubContext.js:2( m2 P1 ?) F% P a9 i; ]
VM5465:1 gameSubContextThirdScriptError
( ?5 E7 D+ [/ ~6 v8 F, mmodule "@babel/runtime/helpers/interopRequireDefault" is not defined- E( [3 @6 n( d2 Q& y) D% W' n
Error: module "@babel/runtime/helpers/interopRequireDefault" is not defined# i$ p4 r5 t$ |3 p% J
at require (http://127.0.0.1:55201/game/__dev__/WAGameSubContext.js:2:88260)
o) G/ ^3 Z; N& N: k at http://127.0.0.1:55201/game/__dev__/WAGameSubContext.js:2:88011
, T. f S0 A* {3 h* B5 C at http://127.0.0.1:55201/game/src/ ... -list/index.js:3:30! C, J/ F* ]0 v" s1 N6 d
at require (http://127.0.0.1:55201/game/__dev__/WAGameSubContext.js:2:88401)
- {0 v( ]2 C8 H0 v5 W5 C5 Z; ? at <anonymous>:1:71' h1 a0 ?/ V) L p3 ^$ J: `, x
at HTMLScriptElement.scriptLoaded (http://127.0.0.1:55201/game/subcontext:16:23)7 p' g* \: z% K- c- d
at HTMLScriptElement.script.onload (http://127.0.0.1:55201/game/subcontext:26:22)
W E- k1 w! H2 U0 |; E0 Q- C" d1 F5 `; e$ U. d5 k' }7 P
|
|