windows下npm安装vue

windows下npm安装vue

1.  https://www.cnblogs.com/jianguo221/p/11487532.html

2.  https://www.cnblogs.com/liluxiang/p/9592003.html

3.  必须安装Pythion:

https://blog.csdn.net/qq_38053195/article/details/87070583

https://www.python.org/download/releases/2.7/

4.  安装:windows-build-tools:

https://www.npmjs.com/package/windows-build-tools/v/2.0.0

 

*********************************************************************************************

1. 问题1:

npm install --global --production windows-build-tools
npm install --global --production windows-build-tools@1.4.2
 .NET Framework 4.5.1链接:
http://www.microsoft.com/en-us/download/details.aspx?id=40773

 

2. 问题2:

Vue安装sass的命令:

npm install node-sass --save-dev
npm install sass-loader --save-dev

npm install -g cnpm --registry=https://registry.npm.taobao.org

cnpm install node-sass --save-dev
cnpm install sass-loader --save-dev

 3. 命令:

npm cache clean --force
npm install
npm run dev

 

 

posted @ 2019-11-27 12:07  SweetBaby。  阅读(210)  评论(0编辑  收藏  举报