vue-cli 构建项目下 npm install 报错 gyp verb `which` failed Error: not found: python2

需要重新安装node-sass包 但 npm i --save node-sass仍旧会报同样的错误 使用 cnpm  i --save node-sass安装即可 若没有安装cnpm 可以使用nrm将包下载地址切换到淘宝镜像,之后依旧使用npm i --save node-sass安装 参考文档:https://blog.csdn.net/SFSEFSESEE/article/details/1
相关文章
相关标签/搜索