April 2018
Beginner to intermediate
426 pages
10h 19m
English
The third option is having an environment that is 100 percent JavaScript! For this environment, we need to have Node.js installed. Go to http://nodejs.org, and download and install Node.js. After installing it, open the Terminal application (if you are using Windows, open the Command Prompt with Node.js, which was installed with Node.js) and run the following command:
npm install http-server -g
Make sure you type the command and don't copy and paste it. Copying the command might give you some errors. You can also execute the command as an administrator. For Linux and Mac systems, use the following command:
sudo npm install http-server -g
This command will install http-server, which is a JavaScript server. To start a ...