记录renren-fast-vue启动总结
-
在npm install前需要确认电脑安装Python2.7,这玩意不支持Python 3.0,
执行这两个命令
$ npm install --global --production windows-build-tools
然后执行:
$ npm install --global node-gyp -
先把之前的registry删掉
$ npm config delete registry -
设置新的registry 配置
$ npm config set registry https://registry.npm.taobao.org $ npm config set sass_binary_site https://npm.taobao.org/mirrors/node-sass $ npm config set registry https://mirrors.cloud.tencent.com/npm/ $ npm config set sass_binary_site https://mirrors.cloud.tencent.com/npm/node-sass
-
执行npm install
-
启动项目 npm run dev