报错:Error: Can't find Python executable "python", you can set the PYTHON env variable.
先讲一下本人是怎么遇到这个报错的,执行:
npm i sass-loader node-sass
后遇到遇到了这个问题
网上很多方法都是Python及环境变量配置,亲测后没有效果,解决办法:
通过cnpm 来 install sass-loader node-sass
1、安装淘宝镜像:
npm install -g cnpm --registry=https://registry.npm....
原创
2020-03-20 17:01:52 ·
484 阅读 ·
1 评论