Jump to content
McKay Development

wujek_kane

Member
  • Posts

    5
  • Joined

  • Last visited

wujek_kane's Achievements

  1. Had to revert dataDirectory to "/", but it works now!!!! Thank you Sir, you're my personal hero! I don't think, I'd ever managed to harness this Steam madness without your amazing tools. Two factor authorization, generating codes, inventory, trades, some general hints with Steam bull****... You got it all covered! Perhaps, the documentation needs a tiny *tiny* bit of love, to be 100% clear for noobs like me. Anyway, please let me know, if there's anything I could volunteer to do in order to support your AMAZING job. Also I'd like to know if you accept donations? I'd be honored to reward you for your help, when I'm done with this project.
  2. I just updated steam-user to 3.7.2 and it doesn't seem to make any difference regarding that bug :/ I've experimented with dataDirectory a bit, tried null as well. Does not seem to make any difference. path.js:8 throw new TypeError('Path must be a string. Received ' + ^ TypeError: Path must be a string. Received undefined at assertPath (path.js:8:11) at Object.posix.join (path.js:479:5) at userData (/srv/APP_DIR/node_modules/steam-user/node_modules/appdirectory/lib/appdirectory.js:21:29) at Object.AppDirectory._setTemplates (/srv/APP_DIR/node_modules/steam-user/node_modules/appdirectory/lib/appdirectory.js:134:34) at Object.AppDirectory (/srv/APP_DIR/node_modules/steam-user/node_modules/appdirectory/lib/appdirectory.js:129:10) at new SteamUser (/srv/APP_DIR/node_modules/steam-user/index.js:64:15) at Object.<anonymous> (/srv/APP_DIR/bot/index.js:16:14) at Module._compile (module.js:409:26) at Object.Module._extensions..js (module.js:416:10) at Module.load (module.js:343:32) at Function.Module._load (module.js:300:12) at Module.require (module.js:353:17) at require (internal/module.js:12:17) at Object.<anonymous> (/srv/APP_DIR/routers/index.js:6:7) at Module._compile (module.js:409:26) at Object.Module._extensions..js (module.js:416:10) path.js:8 throw new TypeError('Path must be a string. Received ' + ^ Also, application entry point is index.js, and it includes "Bot" module in bot subdirectory. Require is however in routers/index.js. Does it matter?
  3. Guess I'm not too good at copy-pasting ​ path.js:8 throw new TypeError('Path must be a string. Received ' + ^ TypeError: Path must be a string. Received undefined at assertPath (path.js:8:11) at Object.posix.join (path.js:479:5) at userData (/srv/APP_DIRECTORY/node_modules/steam-user/node_modules/appdirectory/lib/appdirectory.js:21:29) at Object.AppDirectory._setTemplates (/srv/APP_DIRECTORY/node_modules/steam-user/node_modules/appdirectory/lib/appdirectory.js:134:34) at Object.AppDirectory (/srv/APP_DIRECTORY/node_modules/steam-user/node_modules/appdirectory/lib/appdirectory.js:129:10) at new SteamUser (/srv/APP_DIRECTORY/node_modules/steam-user/index.js:62:15) at Object.<anonymous> (/srv/APP_DIRECTORY/bot/index.js:16:14) at Module._compile (module.js:409:26) at Object.Module._extensions..js (module.js:416:10) at Module.load (module.js:343:32) at Function.Module._load (module.js:300:12) at Module.require (module.js:353:17) at require (internal/module.js:12:17) at Object.<anonymous> (/srv/APP_DIRECTORY/routers/index.js:6:7) at Module._compile (module.js:409:26) at Object.Module._extensions..js (module.js:416:10) path.js:8 throw new TypeError('Path must be a string. Received ' + ^ I had to replace directory name with APP_DIRECTORY since it contains domain name and it has to remain hidden before it's live, sorry!
  4. Hello, I have an issue with deploying application using Steam-user on my server. I had to change dataDirectory (same as module using Steam-user). If I run my app as www-data it works just fine. However I need it to run all the time, so I'm using Ajenti with supervisor (as www-data user). It throws an error: path.js:8 throw new TypeError('Path must be a string. Received ' + ^ TypeError: Path must be a string. Received undefined at assertPath (path.js:8:11) at Object.posix.join (path.js:479:5) at userData (/srv/APP_DIRECTORY/node_modules/steam-user/node_modules/ap$ at Object.AppDirectory._setTemplates (/srv/APP_DIRECTORY/node_modules/s$ at Object.AppDirectory (/srv/APP_DIRECTORY/node_modules/steam-user/node$ at new SteamUser (/srv/APP_DIRECTORY/node_modules/steam-user/index.js:6$ at Object.<anonymous> (/srv/APP_DIRECTORY/bot/index.js:16:14) at Module._compile (module.js:409:26) at Object.Module._extensions..js (module.js:416:10) at Module.load (module.js:343:32) at Function.Module._load (module.js:300:12) at Module.require (module.js:353:17) at require (internal/module.js:12:17) at Object.<anonymous> (/srv/APP_DIRECTORY/routers/index.js:6:7) it refers to: var client = new SteamUser({ dataDirectory: "/srv/APP_DIRECTORY/bot" }); (also everything works ok when I remove bot module) The issue seems to be only when running script with supervisor. I really need to get it up and running, so big thanks in advance! Also BIG, BIG thanks to Dr. McKay for awesome set of tools to deal with this whole Steam madness!
×
×
  • Create New...