Jump to content
McKay Development

Recommended Posts

Posted

Hello guys, i become this error when im trying to run my node.js script via webserver.

 

Specs:
Windows Machine running Cygwin with phpfpm

path.js:7
    throw new TypeError('Path must be a string. Received ' + inspect(path));
    ^

TypeError: Path must be a string. Received undefined
    at assertPath (path.js:7:11)
    at Object.join (path.js:468:7)
    at userData (C:\Users\Administrator\node_modules\appdirectory\lib\appdirectory.js:16:25)
    at Object._setTemplates (C:\Users\Administrator\node_modules\appdirectory\lib\appdirectory.js:134:34)
    at Object.AppDirectory (C:\Users\Administrator\node_modules\appdirectory\lib\appdirectory.js:129:10)
    at new SteamUser (C:\Users\Administrator\node_modules\steam-user\index.js:104:34)
    at Object.<anonymous> (C:\Users\Administrator\Desktop\nodestuff\myscript.js:4:12)
    at Module._compile (module.js:570:32)
    at Object.Module._extensions..js (module.js:579:10)
    at Module.load (module.js:487:32)

If this isnt enough information please let me know :)

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...