大约有 10 项符合查询结果, 库内数据总量为 30,786 项。 (搜索耗时: 0.0029 秒)
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
微信小游戏示例打包之后出现问题 (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
...真机调试,在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
...是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
...airIDE创建的微信小游戏示例运行报错 VM32 WAGame.js:1 Uncaught ReferenceError: Laya is not defined at code.js? [sm]:1 at require (VM32 WAGame.js:1) at VM32 WAGame.js:1 at VM42 game.js:4 at require (VM32 WAGame.js:1) at <anonymous>:1:1 at HT...
来源: Laya_社区 发布时间: 20191116
...node", "lib": [ "dom", "es5" ] }, "exclude": [ // "node_modules" ] }报错 ReferenceError: exports is not defined 生成的js是Object.defineProperty(exports, "__esModule", { value: true }); var Collections = require("typescript-collections"); 刚接触ts,不太清楚怎么加载模块,编译时...
来源: Laya_社区 发布时间: 20180107
...R! fs.js:47 npm ERR! } = primordials; npm ERR! ^ npm ERR! npm ERR! ReferenceError: primordials is not defined npm ERR! at fs.js:47:5 npm ERR! at req_ (/usr/local/lib/node_modules/layaair2-cmd/node_modules/natives/index.js:143:24) npm ERR! at Object.req [as require] (/usr/lo...
来源: Laya_社区 发布时间: 20220406
...n = SyntaxError: Unexpected token = 还有一个加载库的报错Uncaught ReferenceError: loadLib is not defined at index.js:11 at require (WAGameSubContext.js:3) at subcontext.html:11 开放域代码到底怎么发布到主域呢 Max.魚魚魚鱼魚魚 • 2019-02-16 10:11 楼主问题解决了吗...
来源: Laya_社区 发布时间: 20181001
...7:31:18.561 6514-6514/com.vivo.vs I/chromium: [INFO:CONSOLE(64)] "Uncaught ReferenceError: SceneManager is not defined", source: file:///data/data/com.vivo.vs/files/.game/854584523/1.0.10/js/LayaUISample.js (64) 10-13 17:31:18.571 6514-7462/com.vivo.vs I/chromium: [INFO:SkFontConfigInterface_android...
来源: Laya_社区 发布时间: 20181013