The AudioContext was not allowed to start. It must be resumed (or created) after a user gesture on the page. https://goo.gl/7K7WLu
(anonymous) @ laya.core.js:18127
laya.core.js:18002 The AudioContext was not allowed to start. It must be resumed (or created) after a user gesture on the page. https://goo.gl/7K7WLu
_playEmptySound @ laya.core.js:18002
laya.core.js:18228 The AudioContext was not allowed to start. It must be resumed (or created) after a user gesture on the page. https://goo.gl/7K7WLu
_recoverWebAudio @ laya.core.js:18228
只有这些 没有我需要的数
开始编译: Thu Feb 04 2021 09:56:05 GMT+0800 (中国标准时间)
--------------------------------------
[09:56:06] Working directory changed to D:\课件\LayaAirIDE\resources\app
[09:56:07] Using gulpfile D:\laya\2048\.laya\compile.js
[09:56:07] Starting 'compile'...
{ Error: Unexpected token
at error (D:\课件\LayaAirIDE\resources\app\node_modules\rollup\dist\rollup.js:9402:30)
at Module.error (D:\课件\LayaAirIDE\resources\app\node_modules\rollup\dist\rollup.js:13340:9)
at tryParse (D:\课件\LayaAirIDE\resources\app\node_modules\rollup\dist\rollup.js:13255:16)
at Module.setSource (D:\课件\LayaAirIDE\resources\app\node_modules\rollup\dist\rollup.js:13566:33)
at Promise.resolve.catch.then.then.then (D:\课件\LayaAirIDE\resources\app\node_modules\rollup\dist\rollup.js:16352:20)
at
code: 'PARSE_ERROR',
pos: 2055,
loc:
{ column: 23,
file: 'D:\\laya\\2048\\src\\script\\GameManager.js',
line: 53 },
frame: '51: console.log(result);\r\n52: }));\r\n53: CreateNumberCard() {\r\n ^\n54: var index = this.GetRandomNullIndex();\r\n55: if (index==-1) {\r' }
[09:56:07] Finished 'compile' after 64 ms
--------------------------------------
编译结束,gulp编译耗时: 2.079s
编译结束,总耗时: 2.148s