npm ERR! gyp verb check python checking for Python executable “python“ in the PATH
- 删除 node_modules 文件夹。
- 在 Terminal 运行
npm install --global windows-build-tools --save
- 再安装node-sass
npm install node-sass@4.12.0 --save
(或指定版本)
到这里,错误应该就已经解决了,收到了 gyp info ok 的提示!
如果遇到 Node Sass could not find a binding for your current environment,再运行npm rebuild node-sass
就可以了