注意下面链接里面的node.js的版本比较低,要自己下载安装高版本,v8就可以了。
如果创建项目失败,那就可能是node版本的问题
链接:http://www.cnblogs.com/miller-star/p/6394760.html
上面链接里面的第五步,如果是用的cnpm那就用cnpm install
win7 安装淘宝依赖好像是npm install -g cnpm –registry=https://registry.npm.taobao.org
win10是 npm install cnpm -g –registry=https://registry.npm.taobao.org