|
|
请使用QQ关联注册PLM之家,学习更多关于内容,更多精彩原创视频供你学习!
您需要 登录 才可以下载或查看,没有账号?注册
x
, T: ~9 b2 M# l微信小游戏开发,报错如下
4 I# K% m1 B, _/ q* h/ w
6 u5 q& t/ [& B
5 {4 d! s1 O# i( h7 v' J. B) F9 u. X& X* S0 I
Wechat Lib:2.10.1, 2020.1.19 13:07:38
7 l p( o& Z$ b8 p8 @VM5465:1 gameSubContextThirdScriptError( u3 Y1 e# l: R% c2 Y* u
loadBabelMod is not defined; z7 `; H# M, @) G1 w/ n
ReferenceError: loadBabelMod is not defined
S$ F$ z% K. F1 Y4 Y* u at http://127.0.0.1:55201/game/src/ ... list/index.js:192:4
+ I) F. _5 e0 o$ o3 Q: x. K _console.error @ VM5465:18 ]( [8 f- `* T: i
errorReport @ VM5483 WAGame.js:27 P3 V+ b% L2 n
9 m6 ]' z" [( g5 x5 w3 ?# F6 `
$ R/ w( {- q; n. R- K解决办法是在项目设置里面,不要勾选 增强 转换 # @& R0 P7 v, V, G& n0 f- `
! R/ m( d! N1 ^% m3 T# e
1 _+ ~7 g/ B* ~! \8 H( ~$ qthirdErrorReport @ VM5483 WAGame.js:2
2 `6 v* U9 w) q(anonymous) @ VM5483 WAGame.js:21 \2 }& @0 X. h+ M* T Z
f @ VM5498 WAGameSubContext.js:2) h. y3 F0 j$ ~# s( i! m
h @ VM5498 WAGameSubContext.js:2
8 O, p4 ~8 i- X0 R7 g7 \(anonymous) @ VM5498 WAGameSubContext.js:2
- ~1 _% S% U; t" _/ svalue @ VM5498 WAGameSubContext.js:2
' o# s! \+ ~. `3 `3 t* o(anonymous) @ VM5498 WAGameSubContext.js:2* }4 b2 _: v' E6 \" j* m
error (async)/ _4 r9 p5 N& Y9 B2 F2 e
(anonymous) @ VM5498 WAGameSubContext.js:2 f1 B8 ]/ n6 d# t$ K
(anonymous) @ VM5498 WAGameSubContext.js:2! r! ~2 |5 R2 P4 ~1 X& R
(anonymous) @ VM5498 WAGameSubContext.js:28 P- c c! x: t9 a8 q
VM5465:1 gameSubContextThirdScriptError( Q, E3 l( S* D9 _$ }( }0 Y: z
module "@babel/runtime/helpers/interopRequireDefault" is not defined/ t' T1 h; r A2 v! \1 Y
Error: module "@babel/runtime/helpers/interopRequireDefault" is not defined5 {, _0 B, _8 i9 z& l
at require (http://127.0.0.1:55201/game/__dev__/WAGameSubContext.js:2:88260)
3 M q& e. p$ `% ~1 Y at http://127.0.0.1:55201/game/__dev__/WAGameSubContext.js:2:88011
5 }5 m# ?% N; ?7 C4 y. D$ Q9 D at http://127.0.0.1:55201/game/src/ ... -list/index.js:3:308 X4 B" c0 A9 y
at require (http://127.0.0.1:55201/game/__dev__/WAGameSubContext.js:2:88401)
+ T6 Q& y& a: P1 G |' f: m) `/ j at <anonymous>:1:71
5 ]2 z& `4 R: U+ X at HTMLScriptElement.scriptLoaded (http://127.0.0.1:55201/game/subcontext:16:23)
, j; P R K- w2 O" t; R3 u% n at HTMLScriptElement.script.onload (http://127.0.0.1:55201/game/subcontext:26:22)& ?$ K9 t9 _+ D, G( A$ y. o
/ _' @ p1 Y9 {% \1 h
|
|