0
点赞
收藏
分享

微信扫一扫

npm ERR gyp verb check python checking for Python executable “python“ in the PATH

老北京的热干面 2022-03-11 阅读 85
  1. 删除 node_modules 文件夹。
  2. 在 Terminal 运行 npm install --global windows-build-tools --save
  3. 再安装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 就可以了
举报

相关推荐

0 条评论