How to install nodejs on Xampp localhost
问题 Been seeing a lot of how to's on how to install nodejs but nothing is at all clear. So I ask... Can someone provide a step by step installation guide for installing and using nodejs on a xampp server? 回答1: After searching (source), I have found, that it's easier to install Node.js directly (so, need of XAMP/WAMP): 1) Install http://nodejs.org/download/ 2) Create a test file (example) C:\myFolder\test.js and put this code in that file: var http = require('http'); http.createServer(function