Vue之常见问题

  

  1) 使用命令 npm  install 安装依赖包的时候,出现错误:

checking for Python executable "python2" in the PATH

  解决:

使用cnpm 来安装:
具体做法:

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

安装gulp-sass
语法都是一样的,只是将npm换成cnpm

cnpm install --save-dev gulp-sass

  

原文地址:https://www.cnblogs.com/xingxia/p/vue_errors.html