Jump to content
McKay Development

Path must be a string. Received undefined


timgfx
 Share

Recommended Posts

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 by timgfx
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...
 Share

×
×
  • Create New...