Open gksdnfla opened 8 months ago
npm ERR! code 1 npm ERR! path C:\projects\autokey\node_modules\keysender npm ERR! command failed npm ERR! command C:\Windows\system32\cmd.exe /d /s /c node-gyp rebuild npm ERR! Building the projects in this solution one at a time. To enable parallel build, please add the "/m" switch. npm ERR! key_sender.cpp npm ERR! keyboard.cpp npm ERR! mouse.cpp npm ERR! workwindow.cpp npm ERR! hardware.cpp npm ERR! virtual.cpp npm ERR! hotkey.cpp npm ERR! disableInput.cpp npm ERR! hook.cpp npm ERR! helper.cpp npm ERR! utilities.cpp npm ERR! win_delay_load_hook.cc npm ERR! C:\\Users\\97283\\AppData\\Local\\node-gyp\\Cache\\16.9.1\\x64\\node.lib : fatal error LNK1106: [C:\projects\autokey\node_modules\keysender\build\key_sender.vcxproj] npm ERR! gyp info it worked if it ends with ok npm ERR! gyp info using node-gyp@7.1.2 npm ERR! gyp info using node@16.9.1 | win32 | x64 npm ERR! gyp info find Python using Python version 2.7.15 found at "C:\Python27\python.exe" npm ERR! gyp info find VS using VS2017 (15.9.34031.82) found at: npm ERR! gyp info find VS "C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools" npm ERR! gyp info find VS run with --verbose for detailed information npm ERR! (node:13092) [DEP0150] DeprecationWarning: Setting process.config is deprecated. In the future the property will be read-only. npm ERR! (Use `node --trace-deprecation ...` to show where the warning was created) npm ERR! gyp info spawn C:\Python27\python.exe npm ERR! gyp info spawn args [ npm ERR! gyp info spawn args 'C:\\Program Files\\nodejs\\node_modules\\npm\\node_modules\\node-gyp\\gyp\\gyp_main.py', npm ERR! gyp info spawn args 'binding.gyp', npm ERR! gyp info spawn args '-f', npm ERR! gyp info spawn args 'msvs', npm ERR! gyp info spawn args '-I', npm ERR! gyp info spawn args 'C:\\projects\\autokey\\node_modules\\keysender\\build\\config.gypi', npm ERR! gyp info spawn args '-I', npm ERR! gyp info spawn args 'C:\\Program Files\\nodejs\\node_modules\\npm\\node_modules\\node-gyp\\addon.gypi', npm ERR! gyp info spawn args '-I', npm ERR! gyp info spawn args 'C:\\Users\\97283\\AppData\\Local\\node-gyp\\Cache\\16.9.1\\include\\node\\common.gypi', npm ERR! gyp info spawn args '-Dlibrary=shared_library', npm ERR! gyp info spawn args '-Dvisibility=default', npm ERR! gyp info spawn args '-Dnode_root_dir=C:\\Users\\97283\\AppData\\Local\\node-gyp\\Cache\\16.9.1', npm ERR! gyp info spawn args '-Dnode_gyp_dir=C:\\Program Files\\nodejs\\node_modules\\npm\\node_modules\\node-gyp', npm ERR! gyp info spawn args '-Dnode_lib_file=C:\\\\Users\\\\97283\\\\AppData\\\\Local\\\\node-gyp\\\\Cache\\\\16.9.1\\\\<(target_arch)\\\\node.lib', npm ERR! gyp info spawn args '-Dmodule_root_dir=C:\\projects\\autokey\\node_modules\\keysender', npm ERR! gyp info spawn args '-Dnode_engine=v8', npm ERR! gyp info spawn args '--depth=.', npm ERR! gyp info spawn args '--no-parallel', npm ERR! gyp info spawn args '--generator-output', npm ERR! gyp info spawn args 'C:\\projects\\autokey\\node_modules\\keysender\\build', npm ERR! gyp info spawn args '-Goutput_dir=.' npm ERR! gyp info spawn args ] npm ERR! gyp info spawn C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\MSBuild\15.0\Bin\MSBuild.exe npm ERR! gyp info spawn args [ npm ERR! gyp info spawn args 'build/binding.sln', npm ERR! gyp info spawn args '/clp:Verbosity=minimal', npm ERR! gyp info spawn args '/nologo', npm ERR! gyp info spawn args '/p:Configuration=Release;Platform=x64' npm ERR! gyp info spawn args ] npm ERR! gyp ERR! build error npm ERR! gyp ERR! stack Error: `C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\MSBuild\15.0\Bin\MSBuild.exe` failed with exit code: 1 npm ERR! gyp ERR! stack at ChildProcess.onExit (C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\lib\build.js:194:23) npm ERR! gyp ERR! stack at ChildProcess.emit (node:events:394:28) npm ERR! gyp ERR! stack at Process.ChildProcess._handle.onexit (node:internal/child_process:290:12) npm ERR! gyp ERR! System Windows_NT 10.0.19045 npm ERR! gyp ERR! command "C:\\Program Files\\nodejs\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\node_modules\\node-gyp\\bin\\node-gyp.js" "rebuild" npm ERR! gyp ERR! cwd C:\projects\autokey\node_modules\keysender npm ERR! gyp ERR! node -v v16.9.1 npm ERR! gyp ERR! node-gyp -v v7.1.2 npm ERR! gyp ERR! not ok npm ERR! A complete log of this run can be found in: npm ERR! C:\Users\97283\AppData\Local\npm-cache\_logs\2023-10-07T23_29_37_958Z-debug.log
try to update windows-build-tools version
windows-build-tools