Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

It seems like the website automatically recommend the most appropriate one by the operating system. Because my machine is windows, it recommends me to install x86 version of node.js.

Image Removed

Image Removed

Image Removed

Image Removed

Image Removed

Image Removed

Image RemovedImage AddedImage AddedImage AddedImage AddedImage AddedImage AddedImage Added

If you installation is perfect, let us run below simple node.js code which can make your pc into simple web server.

...

Once you created above js code as "sample.js", you can run it like below command:simply run "node sample.js" 

Code Block
node sample.jsx:\prj\js>node main.js
Server running at http://127.0.0.1:3000/

You can check it on your browser at http://127.0.0.1:3000 and its result will be like below:

...