PHP中文网2017-04-17 13:32:58
For files written by yourself, when requiring, use a relative path, preceded by . or ..
For example, if you put server.js in F:nodejs, when running node in this directory, you should write require('./server.js')
To use express from the command line, you should npm install -g express-generator