question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

error output:wine: cannot find L"C:\\windows\\system32\\winemenubuilder.exe"

See original GitHub issue
  • Version: 20.39.0
  • Target: AppImage
path: /usr/bin/wine
args: wine /root/.cache/electron-builder/winCodeSign/winCodeSign-2.4.0/rcedit-ia32.exe /project/dist/win-unpacked/Patchwork.exe --set-version-string FileDescription Patchwork --set-version-string ProductName Patchwork --set-version-string LegalCopyright Copyright © 2019 Secure Scuttlebutt Consortium --set-file-version 3.12.0-dev --set-product-version 3.12.0.0 --set-version-string InternalName Patchwork --set-version-string OriginalFilename  --set-version-string CompanyName Secure Scuttlebutt Consortium
output: 
error output:wine: cannot find L"C:\\windows\\system32\\winemenubuilder.exe"
000b:err:wineboot:ProcessRunKeys Error running cmd L"C:\\windows\\system32\\winemenubuilder.exe -a -r" (2)
0023:err:winediag:nodrv_CreateWindow Application tried to create a window, but no driver could be loaded.
0023:err:winediag:nodrv_CreateWindow Make sure that your X server is running and that $DISPLAY is set correctly.
0023:err:ole:apartment_createwindowifneeded CreateWindow failed with error 0
0023:err:ole:apartment_createwindowifneeded CreateWindow failed with error 0
0023:err:ole:apartment_createwindowifneeded CreateWindow failed with error 0
000b:err:winediag:nodrv_CreateWindow Application tried to create a window, but no driver could be loaded.
000b:err:winediag:nodrv_CreateWindow Make sure that your X server is running and that $DISPLAY is set correctly.
001f:err:winediag:nodrv_CreateWindow Application tried to create a window, but no driver could be loaded.
001f:err:winediag:nodrv_CreateWindow Make sure that your X server is running and that $DISPLAY is set correctly.
001f:err:mshtml:check_version Could not open VERSION file
0029:err:winediag:nodrv_CreateWindow Application tried to create a window, but no driver could be loaded.
0029:err:winediag:nodrv_CreateWindow Make sure that your X server is running and that $DISPLAY is set correctly.
001f:err:mshtml:check_version Could not open VERSION file
Could not load wine-gecko. HTML rendering will be disabled.
wine: configuration in '/root/.wine' has been updated.

github.com/develar/app-builder/pkg/util.Execute
	/Volumes/data/Documents/app-builder/pkg/util/util.go:75
github.com/develar/app-builder/pkg/wine.execWine
	/Volumes/data/Documents/app-builder/pkg/wine/wine.go:105
github.com/develar/app-builder/pkg/wine.ConfigureCommand.func2
	/Volumes/data/Documents/app-builder/pkg/wine/wine.go:43
github.com/alecthomas/kingpin.(*actionMixin).applyActions
	/Volumes/data/go/pkg/mod/github.com/alecthomas/kingpin@v2.2.6+incompatible/actions.go:28
github.com/alecthomas/kingpin.(*Application).applyActions
	/Volumes/data/go/pkg/mod/github.com/alecthomas/kingpin@v2.2.6+incompatible/app.go:557
github.com/alecthomas/kingpin.(*Application).execute
	/Volumes/data/go/pkg/mod/github.com/alecthomas/kingpin@v2.2.6+incompatible/app.go:390
github.com/alecthomas/kingpin.(*Application).Parse
	/Volumes/data/go/pkg/mod/github.com/alecthomas/kingpin@v2.2.6+incompatible/app.go:222
main.main
	/Volumes/data/Documents/app-builder/main.go:78
runtime.main
	/usr/local/Cellar/go/1.12/libexec/src/runtime/proc.go:200
runtime.goexit
	/usr/local/Cellar/go/1.12/libexec/src/runtime/asm_amd64.s:1337

Error: /project/node_modules/app-builder-bin/linux/x64/app-builder exited with code 1
    at ChildProcess.childProcess.once.code (/project/node_modules/builder-util/src/util.ts:244:14)
    at Object.onceWrapper (events.js:285:13)
    at ChildProcess.emit (events.js:197:13)
    at maybeClose (internal/child_process.js:984:16)
    at Process.ChildProcess._handle.onexit (internal/child_process.js:265:5)
From previous event:
    at processImmediate (timers.js:637:19)
From previous event:
    at WinPackager.signAndEditResources (/project/node_modules/app-builder-lib/src/winPackager.ts:260:158)
    at _bluebirdLst.default.map.file (/project/node_modules/app-builder-lib/src/winPackager.ts:363:21)
    at go$readdir$cb (/project/node_modules/graceful-fs/graceful-fs.js:162:14)
    at FSReqCallback.args [as oncomplete] (fs.js:145:20)
From previous event:
    at /project/node_modules/app-builder-lib/src/winPackager.ts:361:27
    at Generator.next (<anonymous>)
From previous event:
    at WinPackager.signApp (/project/node_modules/app-builder-lib/src/winPackager.ts:355:73)
    at /project/node_modules/app-builder-lib/src/platformPackager.ts:250:16
From previous event:
    at WinPackager.doPack (/project/node_modules/app-builder-lib/src/platformPackager.ts:167:165)
    at /project/node_modules/app-builder-lib/src/platformPackager.ts:113:16
    at Generator.next (<anonymous>)
From previous event:
    at WinPackager.pack (/project/node_modules/app-builder-lib/src/platformPackager.ts:111:95)
    at /project/node_modules/app-builder-lib/src/packager.ts:430:24
    at Generator.next (<anonymous>)
    at processImmediate (timers.js:637:19)
From previous event:
    at Packager.doBuild (/project/node_modules/app-builder-lib/src/packager.ts:396:24)
    at /project/node_modules/app-builder-lib/src/packager.ts:366:57
    at Generator.next (<anonymous>)
    at /project/node_modules/graceful-fs/graceful-fs.js:111:16
    at /project/node_modules/graceful-fs/graceful-fs.js:45:10
    at FSReqCallback.args [as oncomplete] (fs.js:145:20)
From previous event:
    at Packager._build (/project/node_modules/app-builder-lib/src/packager.ts:335:133)
    at /project/node_modules/app-builder-lib/src/packager.ts:331:23
    at Generator.next (<anonymous>)
    at processImmediate (timers.js:637:19)
From previous event:
    at Packager.build (/project/node_modules/app-builder-lib/src/packager.ts:288:14)
    at build (/project/node_modules/app-builder-lib/src/index.ts:59:28)
    at build (/project/node_modules/electron-builder/src/builder.ts:228:10)
    at then (/project/node_modules/electron-builder/src/cli/cli.ts:46:19)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! ssb-patchwork@3.12.0-dev release: `electron-builder "--linux" "--win"`
npm ERR! Exit status 1
npm ERR! 
npm ERR! Failed at the ssb-patchwork@3.12.0-dev release script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR!     /root/.npm/_logs/2019-04-16T02_48_44_168Z-debug.log

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:11
  • Comments:22 (2 by maintainers)

github_iconTop GitHub Comments

16reactions
huangzongguicommented, Oct 15, 2019

Hi ! I have this error on trying to package for Windows on Mac ! any updates?

11reactions
stale[bot]commented, Jul 7, 2019

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Windows cannot find ***.exe make sure you typed the name
I keep getting the error messageWindows cannot find *.exe make sure you typed the name correctly and then try again for every thing....
Read more >
How to Fix the 'Windows Cannot Find' Error in ... - YouTube
How to Fix the 'Windows Cannot Find ' Error in Windows 10 [Tutorial]Powershell Command Used: Get-AppXPackage | Foreach {Add-AppxPackage ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found