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
light.exe : error LGHT0103 : The system cannot find the file 'project.wixobj' with type 'Source'.
failedTask=build stackTrace=Error: Exit code: 103. Command failed: C:\Users\apps\AppData\Local\electron-builder\Cache\wix\wix-4.0.0.5512.2\light.exe -out C:\p\i\dist\green.exe -v -spdb -sw1076 -dappDir=C:\p\i\dist\win-unpacked -pedantic -wx project.wixobj
light.exe : error LGHT0103 : The system cannot find the file 'project.wixobj' with type 'Source'.
light.exe : error LGHT0103 : The system cannot find the file 'project.wixobj' with type 'Source'.
at C:\p\i\node_modules\builder-util\src\util.ts:132:18
at ChildProcess.exithandler (node:child_process:316:5)
at ChildProcess.emit (node:events:329:20)
at maybeClose (node:internal/child_process:1055:16)
at Process.ChildProcess._handle.onexit (node:internal/child_process:288:5)
When trying to compile for windows we get the error message below. Can you help us identify the reason for the error?
Thank you in advance
C:\p\i>yarn && yarn dist
yarn install v1.22.10
[1/4] Resolving packages...
success Already up-to-date.
$ electron-builder install-app-deps
• electron-builder version=22.11.7
• loaded configuration file=package.json ("build" field)
• rebuilding native dependencies [email protected] platform=win32 arch=x64
• rebuilding native dependency name=bcrypt version=5.0.1
Done in 13.24s.
yarn run v1.22.10
$ electron-builder
• electron-builder version=22.11.7 os=10.0.19043
• loaded configuration file=package.json ("build" field)
• writing effective config file=dist\builder-effective-config.yaml
• rebuilding native dependencies [email protected] platform=win32 arch=x64
• rebuilding native dependency name=bcrypt version=5.0.1
• packaging platform=win32 arch=x64 electron=12.1.0 appOutDir=dist\win-unpacked
• building target=MSI arch=x64 file=dist\green.exe
⨯ Exit code: 103. Command failed: C:\Users\apps\AppData\Local\electron-builder\Cache\wix\wix-4.0.0.5512.2\light.exe -out C:\p\i\dist\green.exe -v -spdb -sw1076 -dappDir=C:\p\i\dist\win-unpacked -pedantic -wx project.wixobj
light.exe : error LGHT0103 : The system cannot find the file 'project.wixobj' with type 'Source'.
light.exe : error LGHT0103 : The system cannot find the file 'project.wixobj' with type 'Source'.
failedTask=build stackTrace=Error: Exit code: 103. Command failed: C:\Users\apps\AppData\Local\electron-builder\Cache\wix\wix-4.0.0.5512.2\light.exe -out C:\p\i\dist\green.exe -v -spdb -sw1076 -dappDir=C:\p\i\dist\win-unpacked -pedantic -wx project.wixobj
light.exe : error LGHT0103 : The system cannot find the file 'project.wixobj' with type 'Source'.
light.exe : error LGHT0103 : The system cannot find the file 'project.wixobj' with type 'Source'.
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
The text was updated successfully, but these errors were encountered: