@maxymzakharkiv Please do not open several threads for the same question. One is enough to get the attention of the relevant people in this forum. Opening several repeated questions doesn’t increase your chances of getting an answer.
You already asked about this error here Why am I getting the Cannot read properties of undefined (reading 'pushEvent') error? - #2 by academo