构建node环境
sudo apt-get install nodejs-legacy
sudo apt-get install npm
npm config set registry https://registry.npm.taobao.org
sudo npm install -g cnpm
安装cnpm时,log如下
npm http GET https://registry.npm.taobao.org/cnpm
npm http 304 https://registry.npm.taobao.org/cnpm
npm WARN engine [email protected]: wanted: {"node":">= 6.0.0"} (current: {"node":"v0.10.25","npm":"1.3.10"})
未完待续。。。