Glavin001 / Glavin001/ClassCollaborate

TypeError: Converting circular structure to JSON

Open
#10 0 comments 0 reactions 1 assignee Claimed by @Glavin001 View on GitHub
bug
Dominant language
JavaScript
Stars
1
Forks
0
PR merge metrics
No merged PRs in 30d

Description

In file app.js the afflicting code is:

``` javascript
socket.on('disconnect', function() {
delete users[socket.id];
io.sockets.emit('update users', users); // FIX ME, cannot pass users object without error.
socket.leave(socket.room);
});
```

Possible solution: http://stackoverflow.com/a/5410200

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.