node.js on IIS?

46 views
Skip to first unread message

leeand00

unread,
Nov 18, 2020, 10:14:42 AM11/18/20
to TiddlyWiki
I've been following the tutorial at tiddlywiki.com on setting up tiddlywiki on node.js through IIS.


I got through the entire tutorial but when I try to load the page I get an error in the node.log_XXXX_YYYYMMDDssmmmm.log:

fs.js:114
    throw err;
    ^

Error: EPERM: operation not permitted, lstat 'C:\Users\me'
    at Object.realpathSync (fs.js:1456:7)
    at toRealPath (internal/modules/cjs/loader.js:203:13)
    at Function.Module._findPath (internal/modules/cjs/loader.js:269:22)
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:579:25)
    at Function.Module._load (internal/modules/cjs/loader.js:508:25)
    at Function.Module.runMain (internal/modules/cjs/loader.js:754:12)
    at startup (internal/bootstrap/node.js:283:19)
    at bootstrapNodeJSCore (internal/bootstrap/node.js:622:3)

I also get the following error message in my browser (eventually):


I've gotten this to work in nginx before and if the node.js process craps out you'll get a 502 Bad Gateway there as well....

Any idea what could be wrong?  I myself think maybe it's an issue with the node version I'm using on Windows (node v10.15.3, npm 6.9.0) or maybe NTFS permissions. 



Jeremy Ruston

unread,
Nov 18, 2020, 10:50:23 AM11/18/20
to TiddlyWiki Group
It looks as though it might be a permissions problem, and so perhaps check whether the IIS user has access to the files in the C:\Users\me directory.

Best wishes

Jeremy

--
You received this message because you are subscribed to the Google Groups "TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email to tiddlywiki+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/f63e2a7a-0db5-49d4-8457-77f0ee9e55b3n%40googlegroups.com.

Reply all
Reply to author
Forward
0 new messages