1、安装node32位LTS版
2、查看位数
node -p "process.arch"
3、安装套件
npm install -–global -–production windows-build-tools
4、安装node-gyp
npm install -global node-gyp
5、gyp ERR! stack Error: `C:Program Files (x86)Microsoft Visual Studio2017BuildToolsMSBuild15.0BinMSBuild.exe` failed with exit code: 1
最新版不能用,node 版本使用 10.22.1 32 位