1.npm install -g cnpm --registry=http://registry.npm.taobao.org2.cnpm install webpack-dev-server -g --save-dev