Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Vite-React-Typescript Issue - Uncaught TypeError: Stream is undefined at the time of createing SimplePeer object #933

Open
Atanusaha143 opened this issue Mar 27, 2024 · 2 comments

Comments

@Atanusaha143
Copy link

No description provided.

@codewithdripzy
Copy link

Also getting this error recently simple-peer.js?t=171…965&v=ca1ffffe:4300 Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'call') at _Peer.Readable (simple-peer.js?t=171…&v=ca1ffffe:4300:14) at new Duplex (simple-peer.js?t=171…&v=ca1ffffe:3569:16) at new _Peer (simple-peer.js?t=171…5&v=ca1ffffe:5309:9) at createPeer (Room.tsx:87:22) at Room.tsx:41:34 at Array.forEach (<anonymous>) at Socket2.<anonymous> (Room.tsx:40:25) at Emitter.emit (socket__io-client.js?v=ca1ffffe:356:21) at Socket2.emitEvent (socket__io-client.js?v=ca1ffffe:2600:16) at Socket2.onevent (socket__io-client.js?v=ca1ffffe:2588:12)

@codewithdripzy
Copy link

After checking through, i was able to find a solution that worked
https://stackoverflow.com/questions/76083232/caught-in-promise-typeerror-cannot-read-properties-of-undefined-reading-cal
https://www.npmjs.com/package/vite-plugin-node-polyfills

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants