[LayaAir 1.0]1.9LayairIDE创建的微信小游戏示例运行报错
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 HTMLScriptElement.scriptLoaded (<anonymous>:18:21)
at HTMLScriptElement.script.onload (<anonymous>:30:20)
(anonymous) @ code.js? [sm]:1
require @ VM32 WAGame.js:1
(anonymous) @ VM32 WAGame.js:1
(anonymous) @ game.js? [sm]:2
require @ VM32 WAGame.js:1
(anonymous) @ VM118:1
scriptLoaded @ VM41:18
script.onload @ VM41:30
load (async)
(anonymous) @ VM41:29
(anonymous) @ VM41:83
VM119:3 Sat Nov 16 2019 14:09:30 GMT+0800 (中国标准时间) JS 文件编译错误
VM13:1 以下文件体积超过 500KB,已跳过压缩以及 ES6 转 ES5 的处理。
console.warn @ VM13:1
(anonymous) @ VM119:4
(anonymous) @ VM119:7
VM119:5 libs/laya.core.js
libs/laya.d3.js
libs/min/laya.d3.min.js
不知道是哪里出了问题
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 HTMLScriptElement.scriptLoaded (<anonymous>:18:21)
at HTMLScriptElement.script.onload (<anonymous>:30:20)
(anonymous) @ code.js? [sm]:1
require @ VM32 WAGame.js:1
(anonymous) @ VM32 WAGame.js:1
(anonymous) @ game.js? [sm]:2
require @ VM32 WAGame.js:1
(anonymous) @ VM118:1
scriptLoaded @ VM41:18
script.onload @ VM41:30
load (async)
(anonymous) @ VM41:29
(anonymous) @ VM41:83
VM119:3 Sat Nov 16 2019 14:09:30 GMT+0800 (中国标准时间) JS 文件编译错误
VM13:1 以下文件体积超过 500KB,已跳过压缩以及 ES6 转 ES5 的处理。
console.warn @ VM13:1
(anonymous) @ VM119:4
(anonymous) @ VM119:7
VM119:5 libs/laya.core.js
libs/laya.d3.js
libs/min/laya.d3.min.js
不知道是哪里出了问题
没有找到相关结果
已邀请:
要回复问题请先登录
0 个回复