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

TypeError: Cannot read property 'conn' of null #193

Closed
DavidKindler opened this issue Nov 27, 2014 · 2 comments
Closed

TypeError: Cannot read property 'conn' of null #193

DavidKindler opened this issue Nov 27, 2014 · 2 comments

Comments

@DavidKindler
Copy link

@DavidKindler DavidKindler commented Nov 27, 2014

/usr/local/lib/node_modules/webtorrent/node_modules/bittorrent-swarm/index.js:315
numConns += this._peers[addr].conn ? 1 : 0
^
TypeError: Cannot read property 'conn' of null
at Swarm.Object.defineProperty.get (/usr/local/lib/node_modules/webtorrent/node_modules/bittorrent-swarm/index.js:315:36)
at Swarm._drain (/usr/local/lib/node_modules/webtorrent/node_modules/bittorrent-swarm/index.js:462:45)
at Swarm. (/usr/local/lib/node_modules/webtorrent/node_modules/bittorrent-swarm/index.js:554:10)
at Socket.g (events.js:180:16)
at Socket.emit (events.js:117:20)
at TCP.close (net.js:465:12)

@feross feross closed this Nov 27, 2014
@feross

This comment has been minimized.

Copy link
Member

@feross feross commented Nov 27, 2014

Thanks for the report. This is fixed now. Just update webtorrent with npm install webtorrent -g and you're good to go. :)

@DavidKindler

This comment has been minimized.

Copy link
Author

@DavidKindler DavidKindler commented Nov 27, 2014

That was fast. Thank you!

On Thu, Nov 27, 2014 at 9:53 AM, Feross Aboukhadijeh <
notifications@github.com> wrote:

Thanks for the report. This is fixed now. Just update webtorrent with npm
install webtorrent -g and you're good to go. :)


Reply to this email directly or view it on GitHub
#193 (comment).

@lock lock bot locked as resolved and limited conversation to collaborators May 6, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.