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 'port' of null #15

Open
pfrazee opened this issue Dec 29, 2016 · 1 comment
Open

TypeError: Cannot read property 'port' of null #15

pfrazee opened this issue Dec 29, 2016 · 1 comment

Comments

@pfrazee
Copy link
Contributor

pfrazee commented Dec 29, 2016

/Users/paulfrazee/pubpeer/hypercloud/node_modules/discovery-swarm/index.js:127
    if (opts.announce) port = this.address().port
                                            ^

TypeError: Cannot read property 'port' of null
    at Swarm.join (/Users/paulfrazee/pubpeer/hypercloud/node_modules/discovery-swarm/index.js:127:45)
    at serveArchive (/Users/paulfrazee/pubpeer/hypercloud/node_modules/archiver-server/index.js:103:11)
    at Timeout._onTimeout (/Users/paulfrazee/pubpeer/hypercloud/node_modules/archiver-server/index.js:91:7)
    at tryOnTimeout (timers.js:224:11)
    at Timer.listOnTimeout (timers.js:198:5)

@wellsmt
Copy link

wellsmt commented Nov 30, 2018

I ran into this same issue when trying to call close(), were you able to resolve this @pfrazee ?

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