์์ธ : Uncaught TypeError : encodingPayload.split์ ํจ์๊ฐ ์๋๋๋ค.
๊ฐ๋จํ ํด๋ง
์์ธ ์์
ํฌ์ฐฉ๋์ง ์์ TypeError : encodePayload.split์ ํจ์๊ฐ ์๋๋๋ค.
Object.decodePayload (index.js? 2a85 : 24)
XHR.onData (polling.js? 0949 : 105)
Request.eval (polling-xhr.js? d33e : 101)
Request.Emitter.emit (index.js? 7297 : 145)
Request.onData (polling-xhr.js? d33e : 262)
Request.onLoad (polling-xhr.js? d33e : 329)
XMLHttpRequest.xhr.onreadystatechange (polling-xhr.js? d33e : 217)
๋์๊ฒ๋ ์ผ์ด๋๋ค
๋๋.
์ด์ํ๊ฒ๋ decodePayload()
๋ฉ์๋๋ ํญ์ ๋ฌธ์์ด๋ก ํธ์ถํด์ผํฉ๋๋ค.
ํ์ง๋ง https://github.com/socketio/engine.io-client/commit/ec3f677e9240a8947b6a12e15e3fd77e9bbb51d5์ ์ํด ์์ ๋ ์ ์์ต๋๋ค.
@darrachequesne , 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').
์ด ๋ฌธ์ ์ ๋ํ ํด๊ฒฐ ๋ฐฉ๋ฒ์ด ์์ต๋๊น? ํ์ฌ ์ฐ๋ฆฌ๋ ์๋ก์ด ์ฌ์ดํธ๋ฅผ ๊ฐ๋ฐ ์ค์ด๋ฏ๋ก ๋ค์ด ๊ทธ๋ ์ด๋ ํ ์ ์์ต๋๋ค. ์ง๊ธ์ ๋ค์ด ๊ทธ๋ ์ด๋ํ๋ ๊ฒ์ด ์ข์ง๋ง ๋๊ตฐ๊ฐ๊ฐ ๋ ๋์ ์์ด๋์ด๋ฅผ ๊ฐ์ง๊ณ ์์ ์ ์์ต๋๊น?
๊ฐ์ฅ ์ ์ฉํ ๋๊ธ
@darrachequesne , 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').