MrPandeu Posted July 11, 2016 Report Posted July 11, 2016 (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 July 11, 2016 by MrPandeu Quote
Dr. McKay Posted July 11, 2016 Report Posted July 11, 2016 Please update to steam-user v3.10.0 and this should be fixed. Quote
Recommended Posts
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.