Pengecualian: Uncaught TypeError: encodedPayload.split bukan sebuah fungsi
Polling sederhana
Tidak ada pengecualian
TypeError yang tidak tertangkap: encodedPayload.split bukan sebuah fungsi
di Object.decodePayload (index.js? 2a85: 24)
di XHR.onData (polling.js? 0949: 105)
di Request.eval (polling-xhr.js? d33e: 101)
di Request.Emitter.emit (index.js? 7297: 145)
di Request.onData (polling-xhr.js? d33e: 262)
di Request.onLoad (polling-xhr.js? d33e: 329)
di XMLHttpRequest.xhr.onreadystatechange (polling-xhr.js? d33e: 217)
juga terjadi pada saya
Begitu juga dengan saya.
Aneh, metode decodePayload()
harus selalu dipanggil dengan String ...
Ini mungkin diperbaiki oleh https://github.com/socketio/engine.io-client/commit/ec3f677e9240a8947b6a12e15e3fd77e9bbb51d5 .
@darrachequesne , pengecualian baru dalam rilis 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').
Ada solusi untuk masalah ini? Saat ini kami sedang mengembangkan situs baru, jadi saya bisa menurunkan versi. Untuk saat ini seharusnya baik-baik saja untuk menurunkan versi, tetapi mungkin seseorang memiliki ide yang lebih baik?
Komentar yang paling membantu
@darrachequesne , pengecualian baru dalam rilis 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').