You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
• electron-builder version=24.13.3 os=10.0.22631
• loaded configuration file=package.json ("build" field)
• writing effective config file=Setup\builder-effective-config.yaml
• rebuilding native dependencies dependencies=@serialport/[email protected], [email protected] platform=win32 arch=x64
⨯ cannot execute cause=exit status 1
errorOut=npm error code 1
npm error path C:\Users\Aayusshnair\Desktop\RevolveSoftware\node_modules\vigemclient
npm error command failed
npm error command C:\WINDOWS\system32\cmd.exe /d /s /c node-gyp rebuild
npm error nothing.c
npm error win_delay_load_hook.cc
npm error nothing.vcxproj -> C:\Users\Aayusshnair\Desktop\RevolveSoftware\node_modules\vigemclient\build\Release\nothing.lib
npm error Copying C:\Users\Aayusshnair\Desktop\RevolveSoftware\node_modules\vigemclient/native/x64/ViGEmClient.dll to C:\Users\Aayusshnair\Desktop\RevolveSoftware\node_modules\vigemclient\build\Release
npm error 1 file(s) copied.
npm error target.cpp
npm error target_x360.cpp
npm error target_ds4.cpp
npm error C:\Users\Aayusshnair\Desktop\RevolveSoftware\node_modules\vigemclient\src\target_ds4.cpp(49,43): error C3872: '0x8d': this character is not allowed in an identifier [C:\Users\Aayusshnair\Desktop\RevolveSoftware\node_modules\vigemclient\build\vigemclient.vcxproj]
npm error C:\Users\Aayusshnair\Desktop\RevolveSoftware\node_modules\vigemclient\src\target_ds4.cpp(49,43): error C2065: 'dY~?': undeclared identifier [C:\Users\Aayusshnair\Desktop\RevolveSoftware\node_modules\vigemclient\build\vigemclient.vcxproj]
npm error C:\Users\Aayusshnair\Desktop\RevolveSoftware\node_modules\vigemclient\src\target_ds4.cpp(49,87): error C2059: syntax error: ';' [C:\Users\Aayusshnair\Desktop\RevolveSoftware\node_modules\vigemclient\build\vigemclient.vcxproj]
npm error C:\Users\Aayusshnair\Desktop\RevolveSoftware\node_modules\vigemclient\src\target_ds4.cpp(56,43): error C3872: '0x8d': this character is not allowed in an identifier [C:\Users\Aayusshnair\Desktop\RevolveSoftware\node_modules\vigemclient\build\vigemclient.vcxproj]
npm error C:\Users\Aayusshnair\Desktop\RevolveSoftware\node_modules\vigemclient\src\target_ds4.cpp(56,43): error C2065: 'dY~?': undeclared identifier [C:\Users\Aayusshnair\Desktop\RevolveSoftware\node_modules\vigemclient\build\vigemclient.vcxproj]
npm error C:\Users\Aayusshnair\Desktop\RevolveSoftware\node_modules\vigemclient\src\target_ds4.cpp(56,87): error C2059: syntax error: ';' [C:\Users\Aayusshnair\Desktop\RevolveSoftware\node_modules\vigemclient\build\vigemclient.vcxproj]
npm error gyp info it worked if it ends with ok
npm error gyp info using [email protected]
npm error gyp info using [email protected] | win32 | x64
npm error gyp info find Python using Python version 3.12.2 found at "C:\Python312\python.exe"
npm error gyp info find VS using VS2022 (17.11.35327.3) found at:
npm error gyp info find VS "C:\Program Files\Microsoft Visual Studio\2022\Professional"
npm error gyp info find VS run with --verbose for detailed information
npm error gyp info spawn C:\Python312\python.exe
npm error gyp info spawn args [
npm error gyp info spawn args 'C:\Users\Aayusshnair\AppData\Roaming\npm\node_modules\npm\node_modules\node-gyp\gyp\gyp_main.py',
npm error gyp info spawn args 'binding.gyp',
npm error gyp info spawn args '-f',
npm error gyp info spawn args 'msvs',
npm error gyp info spawn args '-I',
npm error gyp info spawn args 'C:\Users\Aayusshnair\Desktop\RevolveSoftware\node_modules\vigemclient\build\config.gypi',
npm error gyp info spawn args '-I',
npm error gyp info spawn args 'C:\Users\Aayusshnair\AppData\Roaming\npm\node_modules\npm\node_modules\node-gyp\addon.gypi',
npm error gyp info spawn args '-I',
npm error gyp info spawn args 'C:\Users\Aayusshnair\.electron-gyp\33.2.1\include\node\common.gypi',
npm error gyp info spawn args '-Dlibrary=shared_library',
npm error gyp info spawn args '-Dvisibility=default',
npm error gyp info spawn args '-Dnode_root_dir=C:\Users\Aayusshnair\.electron-gyp\33.2.1',
npm error gyp info spawn args '-Dnode_gyp_dir=C:\Users\Aayusshnair\AppData\Roaming\npm\node_modules\npm\node_modules\node-gyp',
npm error gyp info spawn args '-Dnode_lib_file=C:\\Users\\Aayusshnair\\.electron-gyp\\33.2.1\\<(target_arch)\\node.lib',
npm error gyp info spawn args '-Dmodule_root_dir=C:\Users\Aayusshnair\Desktop\RevolveSoftware\node_modules\vigemclient',
npm error gyp info spawn args '-Dnode_engine=v8',
npm error gyp info spawn args '--depth=.',
npm error gyp info spawn args '--no-parallel',
npm error gyp info spawn args '--generator-output',
npm error gyp info spawn args 'C:\Users\Aayusshnair\Desktop\RevolveSoftware\node_modules\vigemclient\build',
npm error gyp info spawn args '-Goutput_dir=.'
npm error gyp info spawn args ]
npm error gyp info spawn C:\Program Files\Microsoft Visual Studio\2022\Professional\MSBuild\Current\Bin\MSBuild.exe
npm error gyp info spawn args [
npm error gyp info spawn args 'build\binding.sln',
npm error gyp info spawn args '/clp:Verbosity=minimal',
npm error gyp info spawn args '/nologo',
npm error gyp info spawn args '/p:Configuration=Release;Platform=x64'
npm error gyp info spawn args ]
npm error gyp ERR! build error
npm error gyp ERR! stack Error: C:\Program Files\Microsoft Visual Studio\2022\Professional\MSBuild\Current\Bin\MSBuild.exe failed with exit code: 1
npm error gyp ERR! stack at ChildProcess. (C:\Users\Aayusshnair\AppData\Roaming\npm\node_modules\npm\node_modules\node-gyp\lib\build.js:209:23)
npm error gyp ERR! stack at ChildProcess.emit (node:events:518:28)
npm error gyp ERR! stack at ChildProcess._handle.onexit (node:internal/child_process:294:12)
npm error gyp ERR! System Windows_NT 10.0.22631
npm error gyp ERR! command "C:\Program Files\nodejs\node.exe" "C:\Users\Aayusshnair\AppData\Roaming\npm\node_modules\npm\node_modules\node-gyp\bin\node-gyp.js" "rebuild"
npm error gyp ERR! cwd C:\Users\Aayusshnair\Desktop\RevolveSoftware\node_modules\vigemclient
npm error gyp ERR! node -v v20.12.1
npm error gyp ERR! node-gyp -v v10.1.0
npm error gyp ERR! not ok
npm error A complete log of this run can be found in: C:\Users\Aayusshnair\AppData\Local\npm-cache\_logs\2024-12-16T13_02_17_810Z-debug-0.log
command='C:\Program Files\nodejs\node.exe' 'C:\Users\Aayusshnair\AppData\Roaming\npm\node_modules\npm\bin\npm-cli.js' rebuild @serialport/[email protected][email protected]
workingDir=
The text was updated successfully, but these errors were encountered:
The error messages say that there are a bunch of weird characters in the source files. Is your hard drive corrupted or something? No idea how that could happen.
Also I have no idea what "electron-builder" is, but maybe that's the reason for it not working? Maybe try to use it in a normal project first to isolate the issue and then figure out why electron builder fails.
The error messages say that there are a bunch of weird characters in the source files. Is your hard drive corrupted or something? No idea how that could happen.
Also I have no idea what "electron-builder" is, but maybe that's the reason for it not working? Maybe try to use it in a normal project first to isolate the issue and then figure out why electron builder fails.
I have found a way to fix it. Can you review my pull request?
npm run build
• electron-builder version=24.13.3 os=10.0.22631
• loaded configuration file=package.json ("build" field)
• writing effective config file=Setup\builder-effective-config.yaml
• rebuilding native dependencies dependencies=@serialport/[email protected], [email protected] platform=win32 arch=x64
⨯ cannot execute cause=exit status 1
errorOut=npm error code 1
npm error path C:\Users\Aayusshnair\Desktop\RevolveSoftware\node_modules\vigemclient
npm error command failed
npm error command C:\WINDOWS\system32\cmd.exe /d /s /c node-gyp rebuild
npm error nothing.c
npm error win_delay_load_hook.cc
npm error nothing.vcxproj -> C:\Users\Aayusshnair\Desktop\RevolveSoftware\node_modules\vigemclient\build\Release\nothing.lib
npm error Copying C:\Users\Aayusshnair\Desktop\RevolveSoftware\node_modules\vigemclient/native/x64/ViGEmClient.dll to C:\Users\Aayusshnair\Desktop\RevolveSoftware\node_modules\vigemclient\build\Release
npm error 1 file(s) copied.
npm error target.cpp
npm error target_x360.cpp
npm error target_ds4.cpp
npm error C:\Users\Aayusshnair\Desktop\RevolveSoftware\node_modules\vigemclient\src\target_ds4.cpp(49,43): error C3872: '0x8d': this character is not allowed in an identifier [C:\Users\Aayusshnair\Desktop\RevolveSoftware\node_modules\vigemclient\build\vigemclient.vcxproj]
npm error C:\Users\Aayusshnair\Desktop\RevolveSoftware\node_modules\vigemclient\src\target_ds4.cpp(49,43): error C2065: 'dY~?': undeclared identifier [C:\Users\Aayusshnair\Desktop\RevolveSoftware\node_modules\vigemclient\build\vigemclient.vcxproj]
npm error C:\Users\Aayusshnair\Desktop\RevolveSoftware\node_modules\vigemclient\src\target_ds4.cpp(49,87): error C2059: syntax error: ';' [C:\Users\Aayusshnair\Desktop\RevolveSoftware\node_modules\vigemclient\build\vigemclient.vcxproj]
npm error C:\Users\Aayusshnair\Desktop\RevolveSoftware\node_modules\vigemclient\src\target_ds4.cpp(56,43): error C3872: '0x8d': this character is not allowed in an identifier [C:\Users\Aayusshnair\Desktop\RevolveSoftware\node_modules\vigemclient\build\vigemclient.vcxproj]
npm error C:\Users\Aayusshnair\Desktop\RevolveSoftware\node_modules\vigemclient\src\target_ds4.cpp(56,43): error C2065: 'dY~?': undeclared identifier [C:\Users\Aayusshnair\Desktop\RevolveSoftware\node_modules\vigemclient\build\vigemclient.vcxproj]
npm error C:\Users\Aayusshnair\Desktop\RevolveSoftware\node_modules\vigemclient\src\target_ds4.cpp(56,87): error C2059: syntax error: ';' [C:\Users\Aayusshnair\Desktop\RevolveSoftware\node_modules\vigemclient\build\vigemclient.vcxproj]
npm error gyp info it worked if it ends with ok
npm error gyp info using [email protected]
npm error gyp info using [email protected] | win32 | x64
npm error gyp info find Python using Python version 3.12.2 found at "C:\Python312\python.exe"
npm error gyp info find VS using VS2022 (17.11.35327.3) found at:
npm error gyp info find VS "C:\Program Files\Microsoft Visual Studio\2022\Professional"
npm error gyp info find VS run with --verbose for detailed information
npm error gyp info spawn C:\Python312\python.exe
npm error gyp info spawn args [
npm error gyp info spawn args 'C:\Users\Aayusshnair\AppData\Roaming\npm\node_modules\npm\node_modules\node-gyp\gyp\gyp_main.py',
npm error gyp info spawn args 'binding.gyp',
npm error gyp info spawn args '-f',
npm error gyp info spawn args 'msvs',
npm error gyp info spawn args '-I',
npm error gyp info spawn args 'C:\Users\Aayusshnair\Desktop\RevolveSoftware\node_modules\vigemclient\build\config.gypi',
npm error gyp info spawn args '-I',
npm error gyp info spawn args 'C:\Users\Aayusshnair\AppData\Roaming\npm\node_modules\npm\node_modules\node-gyp\addon.gypi',
npm error gyp info spawn args '-I',
npm error gyp info spawn args 'C:\Users\Aayusshnair\.electron-gyp\33.2.1\include\node\common.gypi',
npm error gyp info spawn args '-Dlibrary=shared_library',
npm error gyp info spawn args '-Dvisibility=default',
npm error gyp info spawn args '-Dnode_root_dir=C:\Users\Aayusshnair\.electron-gyp\33.2.1',
npm error gyp info spawn args '-Dnode_gyp_dir=C:\Users\Aayusshnair\AppData\Roaming\npm\node_modules\npm\node_modules\node-gyp',
npm error gyp info spawn args '-Dnode_lib_file=C:\\Users\\Aayusshnair\\.electron-gyp\\33.2.1\\<(target_arch)\\node.lib',
npm error gyp info spawn args '-Dmodule_root_dir=C:\Users\Aayusshnair\Desktop\RevolveSoftware\node_modules\vigemclient',
npm error gyp info spawn args '-Dnode_engine=v8',
npm error gyp info spawn args '--depth=.',
npm error gyp info spawn args '--no-parallel',
npm error gyp info spawn args '--generator-output',
npm error gyp info spawn args 'C:\Users\Aayusshnair\Desktop\RevolveSoftware\node_modules\vigemclient\build',
npm error gyp info spawn args '-Goutput_dir=.'
npm error gyp info spawn args ]
npm error gyp info spawn C:\Program Files\Microsoft Visual Studio\2022\Professional\MSBuild\Current\Bin\MSBuild.exe
npm error gyp info spawn args [
npm error gyp info spawn args 'build\binding.sln',
npm error gyp info spawn args '/clp:Verbosity=minimal',
npm error gyp info spawn args '/nologo',
npm error gyp info spawn args '/p:Configuration=Release;Platform=x64'
npm error gyp info spawn args ]
npm error gyp ERR! build error
npm error gyp ERR! stack Error:
C:\Program Files\Microsoft Visual Studio\2022\Professional\MSBuild\Current\Bin\MSBuild.exe
failed with exit code: 1npm error gyp ERR! stack at ChildProcess. (C:\Users\Aayusshnair\AppData\Roaming\npm\node_modules\npm\node_modules\node-gyp\lib\build.js:209:23)
npm error gyp ERR! stack at ChildProcess.emit (node:events:518:28)
npm error gyp ERR! stack at ChildProcess._handle.onexit (node:internal/child_process:294:12)
npm error gyp ERR! System Windows_NT 10.0.22631
npm error gyp ERR! command "C:\Program Files\nodejs\node.exe" "C:\Users\Aayusshnair\AppData\Roaming\npm\node_modules\npm\node_modules\node-gyp\bin\node-gyp.js" "rebuild"
npm error gyp ERR! cwd C:\Users\Aayusshnair\Desktop\RevolveSoftware\node_modules\vigemclient
npm error gyp ERR! node -v v20.12.1
npm error gyp ERR! node-gyp -v v10.1.0
npm error gyp ERR! not ok
The text was updated successfully, but these errors were encountered: