|
请使用QQ关联注册PLM之家,学习更多关于内容,更多精彩原创视频供你学习!
您需要 登录 才可以下载或查看,没有账号?注册
x
) `* X5 o5 H5 o {/ m, F微信小游戏开发,报错如下 s$ \$ w8 E: \) ?/ P/ Q7 a
2 X/ p5 r+ z' c% Z
7 z1 \+ V$ X9 x- _+ h
. W& k) k x$ X1 T3 ~9 bWechat Lib:2.10.1, 2020.1.19 13:07:38
0 H6 e8 G/ r3 v1 ^# y7 s7 H) g. aVM5465:1 gameSubContextThirdScriptError5 ^2 L+ i/ j5 d2 `
loadBabelMod is not defined
- c# @3 g* z0 d7 M( NReferenceError: loadBabelMod is not defined5 f1 y0 {! A# e4 }. K) X' q
at http://127.0.0.1:55201/game/src/ ... list/index.js:192:4
- o/ A9 [! _+ p. _% h/ a5 ^console.error @ VM5465:13 z% v- u8 Z4 t& N; x; x, q, j
errorReport @ VM5483 WAGame.js:2* o' B& H+ d% m
7 j9 N! v# W* u' r0 E
4 O! p: ?/ ^& _: F
解决办法是在项目设置里面,不要勾选 增强 转换 7 Q/ |* ^, ?2 p; c. j
% }9 j& f- U5 L
6 \" L3 S5 B( Q- |
thirdErrorReport @ VM5483 WAGame.js:2, j- W4 i- ^* [4 \- K
(anonymous) @ VM5483 WAGame.js:2
5 N% C' `/ z3 V8 y! j) ^% Uf @ VM5498 WAGameSubContext.js:2( I8 m, S S* ?, I, m
h @ VM5498 WAGameSubContext.js:2
8 r2 E* g5 u1 ~: G: @+ U: @(anonymous) @ VM5498 WAGameSubContext.js:29 }' |! i( S* c6 n5 v
value @ VM5498 WAGameSubContext.js:2
: r. _2 O' `* \5 o: H(anonymous) @ VM5498 WAGameSubContext.js:2
( } R2 k# ]# Z' F8 @) m) Werror (async)# Y9 }; o T! Q2 i( z- K* I
(anonymous) @ VM5498 WAGameSubContext.js:2
0 g/ ^0 G" a2 \" ^(anonymous) @ VM5498 WAGameSubContext.js:2* A- g4 t- ~1 X' l& p% l9 U
(anonymous) @ VM5498 WAGameSubContext.js:2
& F0 F% q5 y" A; h; ^# t* `! |VM5465:1 gameSubContextThirdScriptError
* _" O- q2 L2 ]' ymodule "@babel/runtime/helpers/interopRequireDefault" is not defined
6 u M" z3 E" L! d) q$ G7 QError: module "@babel/runtime/helpers/interopRequireDefault" is not defined8 D% K' U, n& P+ x: l& s/ Z# r
at require (http://127.0.0.1:55201/game/__dev__/WAGameSubContext.js:2:88260)
. m0 C3 g9 T# D: c% c4 p3 E at http://127.0.0.1:55201/game/__dev__/WAGameSubContext.js:2:88011
2 g8 |+ x2 C; v( Q' M5 Q& U3 x* W1 c at http://127.0.0.1:55201/game/src/ ... -list/index.js:3:301 O) n- J, N: j0 k( q% @& B
at require (http://127.0.0.1:55201/game/__dev__/WAGameSubContext.js:2:88401)4 Q. \5 x/ P' }: Q D+ O
at <anonymous>:1:710 F/ n% B/ E" K ^- s" j7 Z
at HTMLScriptElement.scriptLoaded (http://127.0.0.1:55201/game/subcontext:16:23)
, s) Z: Z( L; F3 Q at HTMLScriptElement.script.onload (http://127.0.0.1:55201/game/subcontext:26:22)
% p% r( H8 }7 M1 B! A! H( {) O o2 l) U
|
|