I updated all my npm dependencies and encountered this issue, I can't tell why it happens
Uncaught (in promise) RangeError: WebAssembly.Table.get(): invalid index 584944 into funcref table of size 1000
at ie (jassub-worker.js:2:9156)
at Wr (jassub-worker.js:15:9810)
at jassub-worker.wasm:0xa18b4
at jassub-worker.wasm:0xa68eb
at jassub-worker.wasm:0xea152
at Dr (jassub-worker.js:15:10018)
at jassub-worker.js:15:10373
Here is the context, since the stack trace is probably not that helpful:
function xt(t, r, n) {
f.hasOwnProperty(t) || ge("Replacing nonexistant public symbol"),
f[t].overloadTable !== void 0 && n !== void 0 ? f[t].overloadTable[n] = r : (f[t] = r,
f[t].argCount = n)
}
function Lt(t, r, n) {
var i = dynCalls[t];
return n && n.length ? i.apply(null, [r].concat(n)) : i.call(null, r)
}
var be = [];
function ie(t) {
var r = be[t];
return r || (t >= be.length && (be.length = t + 1),
be[t] = r = ue.get(t)), // Here
r
}
function Ht(t, r, n) {
if (t.includes("j"))
return Lt(t, r, n);
var i = ie(r).apply(null, n);
return i
}
function Bt(t, r) {
var n = [];
return function() {
return n.length = 0,
Object.assign(n, arguments),
Ht(t, r, n)
}
}
After searching a bit, it seems that the error is really similar to this one: jellyfin/jellyfin-web#4794 but on a modern version of chrome/firefox:
Chrome version: Version 117.0.5938.149
Firefox version: Version 118.0.1
If you need more context for this, you can take a look at this branch where I updated packages: zoriya/Kyoo@master...fix/things