第一个问题:
plugin.js:77 exception thrown: TypeError: AudioContext is not a constructor,TypeError: AudioContext is not a constructor
at 7071181 (dff060f45a6a5b70402472bfc2bcec50-8447-Z2FtZS5qcw==.cachedata:190:31433)
at _emscripten_asm_const_int (dff060f45a6a5b70402472bfc2bcec50-8447-Z2FtZS5qcw==.cachedata:190:288625)
at wasm://wasm/098b5802:wasm-function[50780]:0xed8801
at wasm://wasm/098b5802:wasm-function[6722]:0x1c8e9d
at wasm://wasm/098b5802:wasm-function[50896]:0xee3058
at wasm://wasm/098b5802:wasm-function[37533]:0xc12f6e
at wasm://wasm/098b5802:wasm-function[20280]:0x5d9123
at wasm://wasm/098b5802:wasm-function[84659]:0x15bd421
at wasm://wasm/098b5802:wasm-function[63066]:0x1223497
at invoke_iii (dff060f45a6a5b70402472bfc2bcec50-8447-Z2FtZS5qcw==.cachedata:205:261325)
at wasm://wasm/098b5802:wasm-function[2217]:0xdc273
at wasm://wasm/098b5802:wasm-function[4669]:0x15f0de
at wasm://wasm/098b5802:wasm-function[38096]:0xc25ee7
at wasm://wasm/098b5802:wasm-function[79655]:0x150b829
at wasm://wasm/098b5802:wasm-function[85424]:0x15cdf61
at wasm://wasm/098b5802:wasm-function[13626]:0x3e0aaa
at wasm://wasm/098b5802:wasm-function[63032]:0x1223198
at invoke_iiii (dff060f45a6a5b70402472bfc2bcec50-8447-Z2FtZS5qcw==.cachedata:205:261681)
at wasm://wasm/098b5802:wasm-function[3013]:0xfc5e4
at wasm://wasm/098b5802:wasm-function[28418]:0x98b243
at wasm://wasm/098b5802:wasm-function[1455]:0xc1f06
at wasm://wasm/098b5802:wasm-function[96670]:0x17ad009
at wasm://wasm/098b5802:wasm-function[3239]:0x10b301
at wasm://wasm/098b5802:wasm-function[96669]:0x17accd6
at wasm://wasm/098b5802:wasm-function[25878]:0x7d735a
at wasm://wasm/098b5802:wasm-function[17348]:0x4bf469
at wasm://wasm/098b5802:wasm-function[44592]:0xd81006
at wasm://wasm/098b5802:wasm-function[44591]:0xd80d08
at wasm://wasm/098b5802:wasm-function[99496]:0x18517c1
at wasm://wasm/098b5802:wasm-function[41835]:0xce567d
at wasm://wasm/098b5802:wasm-function[15444]:0x4409d6
at wasm://wasm/098b5802:wasm-function[15480]:0x443490
at wasm://wasm/098b5802:wasm-function[62211]:0x11f7a98
at Module._main (dff060f45a6a5b70402472bfc2bcec50-8447-Z2FtZS5qcw==.cachedata:205:173407)
at callMain (dff060f45a6a5b70402472bfc2bcec50-8447-Z2FtZS5qcw==.cachedata:205:279650)
at doRun (dff060f45a6a5b70402472bfc2bcec50-8447-Z2FtZS5qcw==.cachedata:205:280473)
at run (dff060f45a6a5b70402472bfc2bcec50-8447-Z2FtZS5qcw==.cachedata:205:280645)
at runCaller (dff060f45a6a5b70402472bfc2bcec50-8447-Z2FtZS5qcw==.cachedata:205:279309)
at removeRunDependency (dff060f45a6a5b70402472bfc2bcec50-8447-Z2FtZS5qcw==.cachedata:190:16745)
at receiveInstance (dff060f45a6a5b70402472bfc2bcec50-8447-Z2FtZS5qcw==.cachedata:190:18900)
at receiveInstantiationResult (dff060f45a6a5b70402472bfc2bcec50-8447-Z2FtZS5qcw==.cachedata:190:19114)
第二个问题:
Uncaught (in promise) TypeError: Browser.mainLoop.scheduler is not a function
at Object.resume (dff060f45a6a5b70402472bfc2bcec50-8447-Z2FtZS5qcw==.cachedata:205:1296)
at e.calledMainCb (plugin.js:77:203552)
at callMain (dff060f45a6a5b70402472bfc2bcec50-8447-Z2FtZS5qcw==.cachedata:205:279957)
at doRun (dff060f45a6a5b70402472bfc2bcec50-8447-Z2FtZS5qcw==.cachedata:205:280473)
at run (dff060f45a6a5b70402472bfc2bcec50-8447-Z2FtZS5qcw==.cachedata:205:280645)
at runCaller (dff060f45a6a5b70402472bfc2bcec50-8447-Z2FtZS5qcw==.cachedata:205:279309)
at removeRunDependency (dff060f45a6a5b70402472bfc2bcec50-8447-Z2FtZS5qcw==.cachedata:190:16745)
at receiveInstance (dff060f45a6a5b70402472bfc2bcec50-8447-Z2FtZS5qcw==.cachedata:190:18900)
at receiveInstantiationResult (dff060f45a6a5b70402472bfc2bcec50-8447-Z2FtZS5qcw==.cachedata:190:19114)
可以检查一下自己的代码。
第二个问题可以检查一下类型 ,这个问题报错是 Browser.mainLoop.scheduler不是一个function。