DoctorMcKay / node-steam-user

Allows interaction with the Steam network via the Steam client protocol
https://dev.doctormckay.com/forum/7-node-steam-user/
MIT License
888 stars 157 forks source link

Error: globaloffensive v2 only supports steam-user v4.2.0 or later. SteamUser v5.0.1 given. #459

Closed hrjoyce1990 closed 1 year ago

hrjoyce1990 commented 1 year ago

Describe the bug

Error: globaloffensive v2 only supports steam-user v4.2.0 or later. SteamUser v5.0.1 given.

Versions

"steam-user": "^5.0.1", "globaloffensive": "^2.3.0",

Screenshots and Error Logs

source code: let parts = steam.packageVersion.split('.'); if (parts[0] < 4 || parts[1] < 2) { throw new Error(globaloffensive v2 only supports steam-user v4.2.0 or later. ${steam.constructor.name} v${steam.packageVersion} given.); }

version.5.0.1 will get this error,plase fix this error

DoctorMcKay commented 1 year ago

globaloffensive is the offending package with the bug, not steam-user. 2.3.1 fixes this.