DevTools failed to load SourceMap: Could not parse content for http://127.0.0.1:50110/game/GameMain.js.map: Unexpected end of JSON input
VM12 WAGame.js:2 Error: module "libs/min/fairygui/fairygui.min.js" is not defined
at l (VM24 WAGameSubContext.js:2)
at r (VM24 WAGameSubContext.js:2)
at index.js:17
at l (VM24 WAGameSubContext.js:2)
at r (VM24 WAGameSubContext.js:2)
at game.js:9
at l (VM24 WAGameSubContext.js:2)
at <anonymous>:1:1
at doWhenAllScriptLoaded (game.js:36)
at HTMLScriptElement.scriptLoaded (game.js:51)(env: Windows,mg,1.05.2112294; lib: 2.21.3)
4 个回复
Yan
赞同来自:
现实里的童话
赞同来自:
现实里的童话
赞同来自:
//-----libs-begin-----
loadLib("libs/min/laya.core.min.js")
loadLib("libs/min/laya.ui.min.js")
loadLib("libs/min/laya.physics.min.js")
loadLib("libs/min/laya.html.min.js")
//-----libs-end-------
//loadLib("libs/min/fairygui/rawinflate.min.min.js");// 如果勾选了不压缩,这个库不需要
loadLib("libs/min/fairygui/fairygui.min.js");// 只依赖laya.core,laya.html两个模块
loadLib("js/bundle.js");
DevTools failed to load SourceMap: Could not parse content for http://127.0.0.1:50110/game/GameMain.js.map: Unexpected end of JSON input
VM12 WAGame.js:2 Error: module "libs/min/fairygui/fairygui.min.js" is not defined
at l (VM24 WAGameSubContext.js:2)
at r (VM24 WAGameSubContext.js:2)
at index.js:17
at l (VM24 WAGameSubContext.js:2)
at r (VM24 WAGameSubContext.js:2)
at game.js:9
at l (VM24 WAGameSubContext.js:2)
at <anonymous>:1:1
at doWhenAllScriptLoaded (game.js:36)
at HTMLScriptElement.scriptLoaded (game.js:51)(env: Windows,mg,1.05.2112294; lib: 2.21.3)
Yan
赞同来自: