Error: Can’t find Python executable “python”, you can set the PYTHON env variable(报错笔记2019112201)
使用 npm install prettier@~1.12.0
控制台说要 npm rebuild node-sass,但是我用了这个命令还是报错,然后我就又弄了一遍npm install -g cnpm --registry=https://registry.npm.taobao.org的命令再rebuild,但还是报错。
结果用了
npm install prettier@~1.12.0之后rebuild就可以了
npm install prettier@~1.12.0
npm rebuild node-sass