nwjs / nw-gyp

native addon build tool for node-webkit
MIT License
195 stars 46 forks source link

nw-gyp rebuild --arch = x32 #117

Closed vladdevops closed 4 years ago

vladdevops commented 6 years ago

Error on the team, rebuild serialport nw-gyp rebuild --target=0.29.0 --arch=x32

many warnings and crashes on the error:

LINK: fatal error LNK1181: can not open input file 'C:\users\user.nw-gyp\0.29.0\x32\nw.lib' [D:\Project\node_modules\serialport\build\serialport.vcxproj]

gyp ERR! build error gyp ERR! stack Error: C:\Program Files (x86)\MSBuild\14.0\bin\msbuild.exe` failed with exit code: 1 gyp ERR! stack at ChildProcess.onExit (C:\Users\com\AppData\Roaming\npm\node_modules\nw-gyp\lib\build.js: 261: 23) gyp ERR! stack at ChildProcess.emit (events.js: 127: 13) gyp ERR! stack at Process.ChildProcess._handle.onexit (internal / child_process.js: 209: 12) gyp ERR! System Windows_NT 10.0.14393

Everything is fine: "nw-gyp rebuild --target=0.29.0 --arch=x64"

serialport: 6.1.1 node: 9.7.1 windows: 10x64 npm: 5.6.0 nw: 0.29.0 nw-gyp: 3.6.3 python: 2.7

bluthen commented 6 years ago

--arch=ia32 maybe?