gyp ERR! stack Error: Can't find Python executable "python", you can set the PYT HON env variable.

安装node-sass报以下错误,这是由于缺少python环境,需要安装编译环境 处理方案: 1.执行命令(安装了Yarn才可使用yarn命令) npm install --global --production windows-build-tools 或 yarn global add --production windows-build-tools 添加windows 下node的Python
相关文章
相关标签/搜索