When you want to dev using node.js, you also need to install a few other things to compile node.js modules when you run npm install
.
-
Install nodejs http://nodejs.org/
-
Download and install MS Visual Studio Express 2013 (select either the ISO or file downloader) http://www.microsoft.com/en-us/download/details.aspx?id=40787
-
Download Python 2.7 https://www.python.org/download/releases/2.7/
-
Add your Python directory in your PATH environment variable (by default it's
**C:\Python27
where yourpython.exe
is located) -
Try it out by installing a node.js module which requires compilation
npm install zombie
# If all goes well, then you won't have problems installing a lot of node.js modules.