报错Error: Can‘t find Python executable “python“和node-sass@4.13.1 postinstall: `node scriptsbuild.js

it2025-01-10  16

话不多说直接上图

遇到和我图片一模一样的直接来

//windows设置变量 sass_binary_site,指向淘宝镜像地址。 set SASS_BINARY_SITE=https://npm.taobao.org/mirrors/node-sass/ && npm install node-sass

或者是

//设置全局镜像源: npm config set sass_binary_site https://npm.taobao.org/mirrors/node-sass/

个人记录一下,感谢该博主原文链接(点击跳转)

最新回复(0)