npm install时出现gyp verb `which` failed Error: not found: python2相关错误

  • vue2.6.14工程,yarn的时候报错;

  • 可能是node版本和node-sass版本有冲突导致的。
    我这边的node是v12.22.0;vue工程node-sass的版本是v4.9.0;
    根据下面的资料,确实存在冲突;改之遂好。

  • image.png

更多资料请查看:http://www.manongjc.com/detail/28-vybwulhyrguxnct.html

你可能感兴趣的:(npm install时出现gyp verb `which` failed Error: not found: python2相关错误)