You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I want to send a stream of data from express server to react app. While setting up the client side code, I'm facing this error if I try to set up createStream object.
import ss from 'socket.io-stream'
.
.
const stream = ss.createStream()
I want to send a stream of data from express server to react app. While setting up the client side code, I'm facing this error if I try to set up createStream object.
``Cannot read properties of undefined (reading 'call')
TypeError: Cannot read properties of undefined (reading 'call')
at new IOStream (http://localhost:3000/static/js/bundle.js:40340:19)
at exports.createStream (http://localhost:3000/static/js/bundle.js:40299:10)
at http://localhost:3000/static/js/bundle.js:158:76
at commitHookEffectListMount (http://localhost:3000/static/js/bundle.js:29541:30)
at commitPassiveMountOnFiber (http://localhost:3000/static/js/bundle.js:31034:17)
at commitPassiveMountEffects_complete (http://localhost:3000/static/js/bundle.js:31006:13)
at commitPassiveMountEffects_begin (http://localhost:3000/static/js/bundle.js:30996:11)
at commitPassiveMountEffects (http://localhost:3000/static/js/bundle.js:30986:7)
at flushPassiveEffectsImpl (http://localhost:3000/static/js/bundle.js:32869:7)
at flushPassiveEffects (http://localhost:3000/static/js/bundle.js:32822:18)```
The text was updated successfully, but these errors were encountered: