执行如下命令:
npm install --python=python2.7
npm config set python python2.7
若不是默认安装,需要指定python位置:npm config set python phthon安装路径 ,如npm config set python D:/python/python.exe
执行如下命令:
npm install --python=python2.7
npm config set python python2.7
若不是默认安装,需要指定python位置:npm config set python phthon安装路径 ,如npm config set python D:/python/python.exe