Answer the question
In order to leave comments, you need to log in
How to run node.js on openserver?
Hello. Decided to start learning node.js and started by installing it on openserver (nginx). I read several articles on the Internet, through them I created the path.txt file for the node and checked in the console whether the OS sees the node. node -v gives the version, npm -v also works, everything is fine. I found in one article that you need to write location in nginx, which I did (maybe wrong, I’m not sure about this, but I didn’t find another similar article)
This didn’t work and by going to 127.0.0.1/nodejs I just get the contents of index .js with text
What am I doing wrong and how can I do it right so that everything works?
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question