|
|
请使用QQ关联注册PLM之家,学习更多关于内容,更多精彩原创视频供你学习!
您需要 登录 才可以下载或查看,没有账号?注册
x
- F/ f# p: O" A$ ? [" U* A7 C
微信小游戏开发,报错如下0 G8 f1 j: G9 {2 ^+ P
! b! j$ H+ {; P& o; T
' c+ k* c2 J2 d# T' U
7 \( i& }: q, v! j' @Wechat Lib:2.10.1, 2020.1.19 13:07:386 ~- i3 I% r2 E' H9 [* g
VM5465:1 gameSubContextThirdScriptError. c! ^0 h' K, p0 ]5 F
loadBabelMod is not defined! i7 ] x# E7 f p
ReferenceError: loadBabelMod is not defined3 I9 ]$ w6 i" q
at http://127.0.0.1:55201/game/src/ ... list/index.js:192:43 ?, x% w9 z5 ^! E
console.error @ VM5465:1) c9 I! `4 R) R. O% W: M" L' c
errorReport @ VM5483 WAGame.js:2/ V1 ?6 q: X5 E+ o! D* n, x
' `5 r2 F. Z( d$ B v/ M/ x5 j
, r4 u; g* Q4 |! E解决办法是在项目设置里面,不要勾选 增强 转换 , G a6 c4 l% ]2 P2 t& J0 l7 D
# `6 d- G; e* y4 E
, n9 Y- n& W" |thirdErrorReport @ VM5483 WAGame.js:2; T( t% V' D; w
(anonymous) @ VM5483 WAGame.js:2( P# A7 P+ \% Y6 d
f @ VM5498 WAGameSubContext.js:29 ?. W6 Q1 [& D1 L) L k) X, L
h @ VM5498 WAGameSubContext.js:2) O/ {! |9 v2 e5 l9 S; `- n
(anonymous) @ VM5498 WAGameSubContext.js:2
- c/ ^. y+ B2 h, U5 ] Mvalue @ VM5498 WAGameSubContext.js:27 L9 n2 n( z9 R; X Z
(anonymous) @ VM5498 WAGameSubContext.js:2; r3 Y7 _( @/ _5 r& F
error (async)
1 n' K! i, G4 z D! K(anonymous) @ VM5498 WAGameSubContext.js:2
/ n c# G" p/ r% ^/ \" {(anonymous) @ VM5498 WAGameSubContext.js:26 E1 p. o. T! {! ~8 M" }4 f9 Q
(anonymous) @ VM5498 WAGameSubContext.js:2
; o* _! V+ {" D$ @ c e: E+ KVM5465:1 gameSubContextThirdScriptError5 ^2 Z) A, X; s: Z# v0 v% o5 n
module "@babel/runtime/helpers/interopRequireDefault" is not defined
0 g4 f) w: Y9 W, f# z1 CError: module "@babel/runtime/helpers/interopRequireDefault" is not defined: B+ A( _! M1 B' v8 K
at require (http://127.0.0.1:55201/game/__dev__/WAGameSubContext.js:2:88260)
# }6 l, x V9 S3 t; m) ~ at http://127.0.0.1:55201/game/__dev__/WAGameSubContext.js:2:88011
/ b1 N( ?$ S& F& z. x$ P+ o' @ at http://127.0.0.1:55201/game/src/ ... -list/index.js:3:30- a; V9 d i9 N( J5 m
at require (http://127.0.0.1:55201/game/__dev__/WAGameSubContext.js:2:88401)
3 t. y3 Z) e+ p! w+ h7 q: Q; P' @ at <anonymous>:1:71
9 M/ p4 ~" e! |7 Q( Y' H at HTMLScriptElement.scriptLoaded (http://127.0.0.1:55201/game/subcontext:16:23)3 R7 @+ a8 d3 Z( ?
at HTMLScriptElement.script.onload (http://127.0.0.1:55201/game/subcontext:26:22): ?1 e `( F+ p B7 A2 m7 x
! K' w! p; @% V) I |
|