I kind of new to node.js when i run local server with index.js located one directory up from index.htmlthe browser gives me this error:
when i run the server with index.js in the same directory or in a sub folder directory it works fine.
but i when i run it as live server it works both ways.
I tried moving it to different folders and changing the name.