npm安装gulp-sass报错: checking for Python executable "python2" in the PATH

今天安装gulp-sass的时候报错: checking for Python executable "python2" in the PATH,python

尝试了不少方法,最后用cnpm来安装就安装成功了npm

具体作法:gulp

1. 安装cnpmsass

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

2. 安装gulp-sasscnpm

语法都是同样的,只是将npm换成cnpm语法

cnpm install --save-dev gulp-sass方法

搞定!tab

相关文章
相关标签/搜索