大约有 30 项符合查询结果, 库内数据总量为 30,778 项。 (搜索耗时: 0.0036 秒)
在layaair2.3版本中报ReferenceError: require is not defined有没有什么办法解决呢? 附件 : --> 2021-01-07 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 0 个回复 为什么被折叠? 0 个回复被折叠 ...
来源: Laya_社区 发布时间: 20210107
Laya发布微信包提示Uncaught ReferenceError: Laya is not defined 1) 报错:Uncaught ReferenceError: Laya is not defined 解决方法:在game.js 的第一行即require的最开始的位置,再添加一个require("libs/laya.core.js"); 如果bin的里面没有game.js 就...
来源: Laya_社区 发布时间: 20200504
...容, 但是在真机上调试就 报错 提示 下面2个错误 Uncaught ReferenceError: window is not defined ReferenceError: window is not defined 我在网上找到方法 var window = window || global; var document = document || (window.document = {}); 加在代码最前面试试 试添加...
来源: Laya_社区 发布时间: 20181217
...ass is not defined WAGame.js:3 gameThirdScriptError __class is not defined ReferenceError: __class is not defined at http://127.0.0.1:56728/game/code.js:53274:3 at http://127.0.0.1:56728/game/code.js:53276:4 at require (http://127.0.0.1:56728/game/__ ... :13675) at http://127.0.0.1:56728/game/__ ......
来源: Laya_社区 发布时间: 20180506
...真机调试,在game.js中都会报错: gameThirdScriptError Uncaught ReferenceError: window is not defined ReferenceError: window is not defined at https://servicewechat.qq.com/game.js:63771:12 at require (<anonymous>:3:7977) at https://servicewechat.qq.com/game.js:63777:10 请问如...
来源: Laya_社区 发布时间: 20190104
微信小游戏示例打包之后出现问题 (unknown) ReferenceError: ui is not defined at code.js:1 at require (WAGame.js:11) at WAGame.js:11 at game.js? [sm]:2 at require (WAGame.js:11) at gamePage.html:111 window.onerror WAGame.js:11 Uncaught ReferenceError: ui is not defined at code.js:1 at r...
来源: Laya_社区 发布时间: 20180115
打包微信小游戏报错 ReferenceError: Matter is not defined 用ActionScript编写项目,可以在pc端正常运行,matter.js是直接用 <script type="text/javascript" src='matter.js' loader='laya'></script> 引入 打包后在微信开发者工具打开报错:Matter is not ...
来源: Laya_社区 发布时间: 20180531
...是lib本身就很大 这该怎么办 问题3: 编译报错. (unknown) ReferenceError: laya is not defined at main.min.js? [sm]:1 at require (WAGame.js:11) at WAGame.js:11 at game.js? [sm]:2 at require (WAGame.js:11) at gamePage.html:118 window.onerror WA...
来源: Laya_社区 发布时间: 20171229
...包,提示“laya is not defined” 微信开发工具堆栈:(unknown) ReferenceError: laya is not defined at code.js:11708 at code.js:11720 at code.js:18226 at require (WAGame.js:11) at WAGame.js:11 at game.js? [sm]:4 at require (WAGame.js:11) at ...
来源: Laya_社区 发布时间: 20180131
...不支持matter.js吗 VM145:1 gameThirdScriptError Matter is not defined ReferenceError: Matter is not defined at http://xxx.xxx.x.x:14680/game/code.js:1:839076 at http://xxx.xxx.x.x:14680/game/code.js:1:843108 at require (http://xxx.xxx.x.x:14680/game/ ... :77964) at http://xxx.xxx.x.x:14680/game/ ...
来源: Laya_社区 发布时间: 20181124