Open eesayas opened 4 years ago
Same here.
Just remove the parameters from const myPeer = new Peer() , so by default it will use their own server to provide the id.
Perhaps you forgot to start the peer server
npm install -g peer
peerjs --port 3001
same issue
Just remove the parameters from const myPeer = new Peer() , so by default it will use their own server to provide the id. Thanks a ton @kdhaka94!! Was encountring this error from last night and had no clue how to fix it. Changed it from: var peer = new Peer(undefined, { path: '/peerjs', host: '/', port: '443', }); To: var peer = new Peer();
thanks bro it helps me a lot
Anyone getting this error? I'm stuck I don't know what to do