socket.io-stream with Reactjs .jsx

42 views Asked by At

I have a problem when I require 'socket. io-stream' in *.jsx The errors show here: enter image description here

And my code: enter image description here

Could you tell me know why it takes and how to fix it? Thank you very much. I know my English is not good so I hope you forgive mistake grammar

I install 'npm install socket.io-stream' from 'https://www.npmjs.com/package/socket.io-stream?activeTab=readme'

If I can't use socket.io-stream. Could you suggest me technicality to stream image from client to server through socket.io

0

There are 0 answers