HypeLevels Posted September 19 Report Posted September 19 (edited) Currently I use steam-session with platform type SteamClient in order to get a refreshToken that I then pass to logOn but that causes my application to crash with the following message: RangeError: "length" is outside of buffer bounds at Buffer.proto.utf8Write (node:internal/buffer:1066:13) at Op.writeStringBuffer [as fn] (C:\Users\John\Desktop\steam\node_modules\protobufjs\src\writer_buffer.js:61:13) at BufferWriter.finish (C:\Users\John\Desktop\steam\node_modules\protobufjs\src\writer.js:453:14) at Function._encodeProto (C:\Users\John\Desktop\steam\node_modules\steam-user\components\03-messages.js:344:29) at SteamUser._send (C:\Users\John\Desktop\steam\node_modules\steam-user\components\03-messages.js:432:29) at SteamUser._sendLogOn (C:\Users\John\Desktop\steam\node_modules\steam-user\components\09-logon.js:347:8) at SteamUser.<anonymous> (C:\Users\John\Desktop\steam\node_modules\steam-user\components\02-connection.js:116:7) at C:\Users\John\Desktop\steam\node_modules\steam-user\components\classes\HandlerManager.js:35:12 at Array.forEach (<anonymous>) at HandlerManager.emit (C:\Users\John\Desktop\steam\node_modules\steam-user\components\classes\HandlerManager.js:34:12) { code: 'ERR_BUFFER_OUT_OF_BOUNDS' This happens before loggedOn event is triggered as well. Edit: This is caused by Node 22.7.0, upgrade to 22.8.0 or downgrade to LTS Edited September 19 by HypeLevels 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.