SOCKET.IO index.js:83未捕获的TypeError:无法在“ FileReader”上执行“ readAsArrayBuffer”:参数1的类型不是“ Blob”

时间:2018-07-03 06:44:36

标签: socket.io typeerror

我有一个似乎无法调试的问题,即使能够,我仍然找不到解决该问题的方法。这是错误:

Uncaught TypeError: Failed to execute 'readAsArrayBuffer' on 'FileReader': parameter 1 is not of type 'Blob'.
at n (index.js:83)
at n (index.js:83)
at n (index.js:83)
at n (index.js:83)
at n (index.js:83)
at n (index.js:83)
at Object.e.removeBlobs (index.js:83)
at s (index.js:83)
at r.encode (index.js:83)
at r.packet (index.js:83)

我正在使用Socket.IO 2.1.1版和Google Chrome。我也在使用Node和npm。 这些是index.html文件中与socketio相关的导入: “ https://cdnjs.cloudflare.com/ajax/libs/socket.io/2.1.1/socket.io.js” 谁能告诉我解决方案?

0 个答案:

没有答案