Read the statement by Michael Teeuw here.
Works with Node Serveronly but not npm start MM
-
@JohnBachini yeh, looks like they have embedded a version of node in their package… don’t know how to fix that
-
oh ok, never mind, thanks for trying to help. :thumbs_up:
just one question for my own peace of mind and try not get too technical, why does it work in servernode, what’s the difference ?
Thanks again.
-
@JohnBachini servermode doesn’t load the modulename.js file, which is what drags in the rest of the stuff…
if u run servermode and then open a browser to the server ip, it will fail the same way
-
But it doesnt ,it works fine if i servermode and then connect via browser, no errors console at all and the module works as it connect to synology and reports as expected.
Very strange. -
@JohnBachini is the browser ON the same system?
how about opening chromium-browser on the same server to the server
electron is all javascript…
-
Just tried it and it works in chromium on server !?
-
@JohnBachini different version of javascript inside chromium…
-
oh i see… Thanks again.
-
Please use the markdown features of the forum when posting code and/or error messages.
-
@bhepler Added code tags for better readability