当前位置:   article > 正文

node-sass 4.14.1 postinstall node scriptsbuild.js npm ERR Exit status 1 npm ERR npm ERR Faile_node-sass@4.14.1 postinstall: `node scripts/build.

node-sass@4.14.1 postinstall: `node scripts/build.js` npm err! exit status 1
Error: Can't find Python executable "python2.7", you can set the PYTHON env variable.

npm ERR! node-sass@4.14.1 postinstall: `node scripts/build.js`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the node-sass@4.14.1 postinstall script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7

在这里插入图片描述
在这里插入图片描述
单独设置sass的安装源。

  • npm config set sass_binary_site=https://npm.taobao.org/mirrors/node-sass

然后:npm install --registry https://registry.npm.taobao.org
在这里插入图片描述
就好了

声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/Cpp五条/article/detail/530625
推荐阅读
相关标签
  

闽ICP备14008679号