Ausnahme: Nicht erfasster TypeError: encodedPayload.split ist keine Funktion
Einfache Abfrage
Keine Ausnahmen
Nicht erfasster TypeError: encodedPayload.split ist keine Funktion
bei Object.decodePayload (index.js? 2a85: 24)
bei XHR.onData (polling.js? 0949: 105)
at Request.eval (polling-xhr.js? d33e: 101)
at Request.Emitter.emit (index.js? 7297: 145)
at Request.onData (polling-xhr.js? d33e: 262)
at Request.onLoad (polling-xhr.js? d33e: 329)
bei XMLHttpRequest.xhr.onreadystatechange (polling-xhr.js? d33e: 217)
passiert mir auch
Ich auch.
Das ist komisch, die decodePayload()
-Methode sollte immer mit einem String aufgerufen werden ...
Dies kann jedoch durch https://github.com/socketio/engine.io-client/commit/ec3f677e9240a8947b6a12e15e3fd77e9bbb51d5 behoben werden.
@darrachequesne , neue Ausnahme in Version 3.0.1
Uncaught DOMException: Failed to read the 'responseText' property from 'XMLHttpRequest': The value is only accessible if the object's 'responseType' is '' or 'text' (was 'arraybuffer').
Gibt es eine Problemumgehung für dieses Problem? Derzeit entwickeln wir eine neue Site, damit ich ein Downgrade durchführen kann. Im Moment sollte es in Ordnung sein, ein Downgrade durchzuführen, aber vielleicht hat jemand eine bessere Idee?
Dies sollte durch fixiert werden https://github.com/socketio/engine.io-client/commit/ec3f677e9240a8947b6a12e15e3fd77e9bbb51d5 und https://github.com/socketio/engine.io-client/commit/89cb771cf0d26426bda603ee01d3b5a225e9f3c0 , die enthalten sind [email protected]
und [email protected]
.
Hilfreichster Kommentar
@darrachequesne , neue Ausnahme in Version 3.0.1
Uncaught DOMException: Failed to read the 'responseText' property from 'XMLHttpRequest': The value is only accessible if the object's 'responseType' is '' or 'text' (was 'arraybuffer').