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
本文记录了解决使用npm安装prettier@~1.12.0和node-sass过程中遇到的错误。通过特定命令npminstallprettier@~1.12.0和npmrebuildnode-sass成功解决了问题。
1116

被折叠的 条评论
为什么被折叠?



