Jump to content
McKay Development

Recommended Posts

Posted (edited)

Hello,

My script sometimes return error:

events.js:276
        throw new TypeError('listener must be a function');
        ^

TypeError: listener must be a function
    at CMClient.removeListener (events.js:276:15)
    at SteamUser.logOff.SteamUser.disconnect (/root/node_modules/steam-user/components/logon.js:153:14)
    at SteamUser._handlers.(anonymous function) (/root/node_modules/steam-user/components/logon.js:265:9)
    at SteamUser._handleMessage (/root/node_modules/steam-user/components/messages.js:189:29)
    at emitThree (events.js:97:13)
    at CMClient.emit (events.js:175:7)
    at CMClient._netMsgReceived (/root/node_modules/steam-client/lib/cm_client.js:271:8)
    at CMClient.handlers.(anonymous function) (/root/node_modules/steam-client/lib/cm_client.js:379:8)
    at CMClient._netMsgReceived (/root/node_modules/steam-client/lib/cm_client.js:253:24)
    at emitOne (events.js:77:13)

What's the reason?

Edited by MrPandeu

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...