安装node-sass报错

npm install 下载的时候node-sass包出现了Error: Can't find Python executable "python", you can set the PYTHON env variable.报错,看这个报错的意思很明显是因为找不到python文件,但是我的电脑里已经下载了python3,最后找到了一条命令重新安装node-sass

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

评论

暂无评论