Jump to content
McKay Development

FileNotFound on logon.


bouncytorch

Recommended Posts

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?

Link to comment
Share on other sites

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 by bouncytorch
Had to cut out an unnecessary package from dependencies
Link to comment
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...