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

2018-05-17 21:29:39

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

尝试了很多方法,最后用cnpm来安装就安装成功了


具体做法:

1. 安装cnpm


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



2. 安装gulp-sass

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

cnpm install --save-dev gulp-sass


搞定!


  • 2021-01-10 17:19:00

    libc++_shared是什么冲突

    NDK 支持多种 C++ 运行时库。本文档介绍了这些库的相关信息、所涉及的折衷做法以及库的使用方法。

  • 2021-01-10 17:20:52

    NDK--CMakeLists配置第三方so库

    当我们创建一个NDK工程时,会自动创建一个CMakeLists.txt的文件,在AS中c++的编译器是使用LLVM,规则为cmake,今天来学习下cmake的基本套路 首先,我创建了两个NDK工程,第一个工程为lib,为第二个工程提供so库

  • 2021-01-12 10:56:09

    NodeJS封装mongodb

    NodeJS操作 Mongodb 并且对 Mongodb 类库进行封装