阿里云ECS服务器安装express-generator构造器
-
服务器版本 Ubuntu 12.04.1 LTS
-
node和npm已经安装成功
node -v 6.10.3 npm -v 3.10.10
-
安装express构造器
npm install -g express-generator /root/node/bin/express -> /root/node/lib/node_modules/express-generator/bin/express-cli.js /root/node/lib └─┬ [email protected] ├─┬ [email protected] │ └── [email protected] ├── [email protected] ├─┬ [email protected] │ └── [email protected] └── [email protected]
但是在使用时一直是
express --view=ejs blog
express: command not found