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

Cannot read property 'steamid' of undefined #9

Closed
paralin opened this issue Sep 21, 2014 · 3 comments
Closed

Cannot read property 'steamid' of undefined #9

paralin opened this issue Sep 21, 2014 · 3 comments

Comments

@paralin
Copy link

paralin commented Sep 21, 2014

/node_modules/passport-steam/lib/passport-steam/strategy.js:58
            id: result.response.players[0].steamid,
                                          ^
TypeError: Cannot read property 'steamid' of undefined
    at steam.getPlayerSummaries.callback (/node_modules/passport-steam/lib/passport-steam/strategy.js:58:43)
    at IncomingMessage.<anonymous> (/node_modules/passport-steam/node_modules/steam-web/lib/steam.js:218:7)
    at IncomingMessage.emit (events.js:117:20)
    at _stream_readable.js:943:16
    at process._tickCallback (node.js:419:13)
@paralin
Copy link
Author

paralin commented Sep 21, 2014

My bad, I think this is a problem in my callback

@paralin paralin closed this as completed Sep 21, 2014
@nichdiekuh
Copy link

I'm having the same issue and perhaps I made the same mistake. Would you mind to post your findings?

@phiresky
Copy link

This does seem to be an issue in the library, not in the user's callbacks

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

3 participants