timgfx Posted May 11, 2018 Report Posted May 11, 2018 (edited) Stack Trace: TypeError: Path must be a string. Received undefined at assertPath (path.js:28:11) at Object.join (path.js:489:7) at userData (C:\Users\timol\Desktop\myFolder\node_modules\appdirectory\lib\appdirectory.js:16:25) at AppDirectory._setTemplates (C:\Users\timol\Desktop\myFolder\node_modules\appdirectory\lib\appdirectory.js:134:34) at new AppDirectory (C:\Users\timol\Desktop\myFolder\node_modules\appdirectory\lib\appdirectory.js:129:10) at new SteamUser (C:\Users\timol\Desktop\myFolder\node_modules\steam-user\index.js:104:34) at my files This is steam-user index.js:104. This was always there, so this is weird. The exact same thing happens in steam-tradeoffer-manager this.options.dataDirectory = (new AppDirectory({ "appName": "node-steamuser", "appAuthor": "doctormckay" })).userData(); Edited May 11, 2018 by timgfx Quote
timgfx Posted May 11, 2018 Author Report Posted May 11, 2018 I used process.env = {}; at the start of my code. That broke stuff 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.