bouncytorch Posted September 13, 2023 Report Posted September 13, 2023 Hey! Stumbled upon this issue where I was suddenly unable to log on, the steamuser just threw this issue: TypeError: this.debug is not a function at LoginSession.<anonymous> (/home/aws/dupe/node_modules/steam-user/components/09-logon.js:366:10) at LoginSession.emit (node:events:514:28) at LoginSession._doPoll (/home/aws/dupe/node_modules/steam-session/dist/LoginSession.js:484:22) so I went to investigate to find what kind of error this is and found out it's this: Error: FileNotFound at eresultError (/home/aws/dupe/node_modules/steam-session/dist/helpers.js:17:15) at AuthenticationClient.sendRequest (/home/aws/dupe/node_modules/steam-session/dist/AuthenticationClient.js:228:46) at async AuthenticationClient.pollLoginStatus (/home/aws/dupe/node_modules/steam-session/dist/AuthenticationClient.js:134:22) at async LoginSession._doPoll (/home/aws/dupe/node_modules/steam-session/dist/LoginSession.js:477:28) { eresult: 9 } /home/aws/dupe/node_modules/steam-user/components/09-logon.js:366 this.debug(`steam-session error: ${err.message}`); ^ TypeError: this.debug is not a function at LoginSession.<anonymous> (/home/aws/dupe/node_modules/steam-user/components/09-logon.js:366:10) at LoginSession.emit (node:events:514:28) at LoginSession._doPoll (/home/aws/dupe/node_modules/steam-session/dist/LoginSession.js:484:22) and I have absolutely no idea what this issue entails. Any ideas? Quote
bouncytorch Posted September 13, 2023 Author Report Posted September 13, 2023 (edited) I decided to purge my packages since an update came out and found that apparently a submodule is missing from the TradeOffer Manager: Error: Cannot find module 'functions-have-names' Require stack: - /home/aws/dupe/node_modules/set-function-name/index.js - /home/aws/dupe/node_modules/regexp.prototype.flags/implementation.js - /home/aws/dupe/node_modules/regexp.prototype.flags/index.js - /home/aws/dupe/node_modules/deep-equal/index.js - /home/aws/dupe/node_modules/steam-tradeoffer-manager/lib/polling.js - /home/aws/dupe/node_modules/steam-tradeoffer-manager/lib/index.js - /home/aws/dupe/build/modules/steam.js - /home/aws/dupe/build/index.js at Module._resolveFilename (node:internal/modules/cjs/loader:1077:15) at Module._load (node:internal/modules/cjs/loader:922:27) at Module.require (node:internal/modules/cjs/loader:1143:19) at require (node:internal/modules/cjs/helpers:121:18) at Object.<anonymous> (/home/aws/dupe/node_modules/set-function-name/index.js:5:38) at Module._compile (node:internal/modules/cjs/loader:1256:14) at Module._extensions..js (node:internal/modules/cjs/loader:1310:10) at Module.load (node:internal/modules/cjs/loader:1119:32) at Module._load (node:internal/modules/cjs/loader:960:12) at Module.require (node:internal/modules/cjs/loader:1143:19) { code: 'MODULE_NOT_FOUND', requireStack: [ '/home/aws/dupe/node_modules/set-function-name/index.js', '/home/aws/dupe/node_modules/regexp.prototype.flags/implementation.js', '/home/aws/dupe/node_modules/regexp.prototype.flags/index.js', '/home/aws/dupe/node_modules/deep-equal/index.js', '/home/aws/dupe/node_modules/steam-tradeoffer-manager/lib/polling.js', '/home/aws/dupe/node_modules/steam-tradeoffer-manager/lib/index.js', '/home/aws/dupe/build/modules/steam.js', '/home/aws/dupe/build/index.js' ] } I also totally forgot to list my packages. My bad! "dependencies": { //... "node-steam-openid": "^1.2.0", "steam-totp": "^2.1.2", "steam-tradeoffer-manager": "^2.10.6", "steam-user": "^4.29.2", "steamcommunity": "^3.46.1", "steamid": "^2.0.0", //... } Edited September 13, 2023 by bouncytorch Had to cut out an unnecessary package from dependencies Quote
bouncytorch Posted September 13, 2023 Author Report Posted September 13, 2023 Installing functions-have-names fixes the issue. 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.