|
|
请使用QQ关联注册PLM之家,学习更多关于内容,更多精彩原创视频供你学习!
您需要 登录 才可以下载或查看,没有账号?注册
x
0 t& L- t- y2 c" a0 ~3 b
微信小游戏开发,报错如下
9 j6 U2 a$ Q% V: K- u& h d3 V2 n2 x$ g7 q6 q9 q5 ~" d( y2 D' n
: X( ?0 E4 l& H
- u+ V, e5 F3 w" U U* l, }
Wechat Lib:2.10.1, 2020.1.19 13:07:389 P' V- m' F" h+ O/ r
VM5465:1 gameSubContextThirdScriptError
" n( ~, [* v: Y# Y" uloadBabelMod is not defined
) z7 f: g( e4 g3 f+ L# N" PReferenceError: loadBabelMod is not defined
6 T) `2 G+ H+ ~- V% K2 W- v* x at http://127.0.0.1:55201/game/src/ ... list/index.js:192:4
' r8 ~9 D8 a) F1 V; ]7 nconsole.error @ VM5465:1. n, t: D u' e+ X# z9 _! ]9 o8 K
errorReport @ VM5483 WAGame.js:2- }. ^2 J4 v" W1 y* h$ U4 n# D
+ q( p; _9 O( j; {" f+ V2 X
, F3 Y% {" ~; U0 B5 g" k解决办法是在项目设置里面,不要勾选 增强 转换
D$ f; V2 h+ _" T6 ]- n
- ~7 L3 k% g/ g5 S) ~) R9 R% \
0 Y# v+ [4 x# U$ ]7 bthirdErrorReport @ VM5483 WAGame.js:2/ O* u2 A4 V* y6 t4 e- I- W
(anonymous) @ VM5483 WAGame.js:2+ w$ V ~/ \: @' E# `
f @ VM5498 WAGameSubContext.js:2
5 H( }! j% r8 e p+ Qh @ VM5498 WAGameSubContext.js:23 D8 b1 g! |+ X; z- ^' l; o4 K
(anonymous) @ VM5498 WAGameSubContext.js:2" C" O1 {. E f) z
value @ VM5498 WAGameSubContext.js:2
6 `0 L9 @8 [% i* k; T, F# R) Y(anonymous) @ VM5498 WAGameSubContext.js:2- x/ B, q$ f3 P9 a
error (async)/ B! \6 @6 o: ~3 Y( H
(anonymous) @ VM5498 WAGameSubContext.js:2
! L0 c/ D( w: Z# W- Q( w(anonymous) @ VM5498 WAGameSubContext.js:21 U0 k' ^, v, r
(anonymous) @ VM5498 WAGameSubContext.js:2
+ c: e" X9 Q2 U( Z- P( M: OVM5465:1 gameSubContextThirdScriptError
+ ^0 P# v8 C1 e! N$ f- Hmodule "@babel/runtime/helpers/interopRequireDefault" is not defined
) {$ [* X w! x0 xError: module "@babel/runtime/helpers/interopRequireDefault" is not defined4 `: ?9 A/ a7 Q4 T6 e9 L
at require (http://127.0.0.1:55201/game/__dev__/WAGameSubContext.js:2:88260)
[/ X" Y8 u" }) j& y at http://127.0.0.1:55201/game/__dev__/WAGameSubContext.js:2:880119 S; U6 \6 U2 ]& w
at http://127.0.0.1:55201/game/src/ ... -list/index.js:3:30( M% X; P- l- e1 Y. m
at require (http://127.0.0.1:55201/game/__dev__/WAGameSubContext.js:2:88401)
0 {5 c+ O9 p2 [4 t9 f at <anonymous>:1:71
0 J* _% n3 S2 u! o at HTMLScriptElement.scriptLoaded (http://127.0.0.1:55201/game/subcontext:16:23)
1 `: w+ N$ v9 M& c at HTMLScriptElement.script.onload (http://127.0.0.1:55201/game/subcontext:26:22)
! a) h. H7 r# k/ `. z* l8 r0 @3 {" Y' M: R% R# G
|
|