尝试了很多方法:
sass-loader node-sass 对应版本不匹配造成的问题。
或者gyp verb check python checking for Python executable "python2" in the PATH 等问题。
只用以下方式进行安装可以完全规避安装报错。
npm install -g cnpm --registry=https://registry.npm.taobao.org
cnpm install -g yarn
yarn install
尝试了很多方法:
sass-loader node-sass 对应版本不匹配造成的问题。
或者gyp verb check python checking for Python executable "python2" in the PATH 等问题。
只用以下方式进行安装可以完全规避安装报错。
npm install -g cnpm --registry=https://registry.npm.taobao.org
cnpm install -g yarn
yarn install