node-sass安装失败,安装后无法使用 gyp verb check python checking for Python executable "python2" in the PATH

这个问题搞了一会想起开始安装node-sass时的一句被我忽略的提示:执行

npm rebuild node-sass

这行后就可以了。

再说说 node-sass 的安装问题,现在使用 yarn install 时容易出现node-sass无法安装的情况,npm也无法安装。主要还是因为墙的原因。
出现这个问题还是去安装个 taobao 镜像吧,虽然我也不太喜欢使用。但它能解决这种问题

https://www.jianshu.com/p/1c12a5f3b1ab

posted @ 2020-06-27 19:35  鼓舞飞扬  阅读(3574)  评论(0编辑  收藏  举报