Jump to content
McKay Development

mxnster

Member
  • Posts

    3
  • Joined

  • Last visited

Everything posted by mxnster

  1. Thanks, seems like its fixed my problem!
  2. node v14.16.0, npm 6.14.11 p.s. updated to the latest v14.17 and 7.16.0, nothing changed
  3. Hello! I have problems with login. const SteamUser = require('steam-user'); const SteamTotp = require('steam-totp'); const config = require('./config'); const client = new SteamUser(); const logOnOptions = { "accountName": config.username, "password": config.password, "twoFactorCode": SteamTotp.getAuthCode(config.ss) } client.logOn(logOnOptions); client.on('loggedOn', () => { console.log('logged'); }); internal/fs/utils.js:779 throw new ERR_INVALID_ARG_TYPE( ^ TypeError [ERR_INVALID_ARG_TYPE]: The "data" argument must be of type string or an instance of Buffer, TypedArray, or DataView. Received type number (165) at Object.writeFile (fs.js:1436:5) at FileStorage.saveFile.FileStorage.writeFile (C:\Users\ronal\Desktop\steam-auto-confirm-accept\node_modules\file-manager\index.js:68:5) at SteamUser._handlers.<computed> (C:\Users\ronal\Desktop\steam-auto-confirm-accept\node_modules\steam-user\components\logon.js:294:18) at SteamUser._handleMessage (C:\Users\ronal\Desktop\steam-auto-confirm-accept\node_modules\steam-user\components\messages.js:249:30) at CMClient.emit (events.js:315:20) at CMClient._netMsgReceived (C:\Users\ronal\Desktop\steam-auto-confirm-accept\node_modules\steam-client\lib\cm_client.js:323:8) at CMClient.handlers.<computed> (C:\Users\ronal\Desktop\steam-auto-confirm-accept\node_modules\steam-client\lib\cm_client.js:609:8) at CMClient._netMsgReceived (C:\Users\ronal\Desktop\steam-auto-confirm-accept\node_modules\steam-client\lib\cm_client.js:305:24) at TCPConnection.emit (events.js:315:20) at TCPConnection._readPacket (C:\Users\ronal\Desktop\steam-auto-confirm-accept\node_modules\steam-client\lib\tcp_connection.js:183:7) { code: 'ERR_INVALID_ARG_TYPE' }
×
×
  • Create New...