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.

Cannot find wine64 despite wine-stable installed via homebrew

See original GitHub issue

I am using mac and I cloned the electron-quick-start repo. If I do electron-packager . --all I get this error:

Could not find "wine64" on your system.

Wine is required to use the appCopyright, appVersion, buildVersion, icon, and 
win32metadata parameters for Windows targets.

Make sure that the "wine64" executable is in your PATH.

I am not sure what this means, I installed Wine using: https://wiki.winehq.org/MacOS brew cask install wine-stable

All I want is to be able to generate a portable exe file to open the app on Windows machines

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:7
  • Comments:6 (2 by maintainers)

github_iconTop GitHub Comments

16reactions
ghostcommented, Feb 24, 2020

I fixed the issue by installed wine-devel brew install homebrew/cask-versions/wine-devel

0reactions
lucashoeftcommented, Feb 10, 2021

I ran into the same problem, but I had wine-stable installed which unfortunalty didn’t work. I fixed it by deinstalling wine-stable and installing wine-devel.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Installing Wine on Mac | David Baumgold
We'll let Homebrew do all the work, all you have to do is tell it what you want with this command: brew cask...
Read more >
Windows builds of an Electron app on Cent OS 64 bit with ...
I was getting the same error: Packaging app for platform win32 x64 using electron v4.2.12 Could not find "wine64" on your system.
Read more >
wine-stable - Homebrew Formulae
wine-stable supports both 32-bit and 64-bit. It is compatible with an existing 32-bit wine prefix, but it will now default to 64-bit when...
Read more >
macOS - WineHQ Wiki
Installing Wine packages using homebrew. Winehq packages can be installed using homebrew. To install wine the following command can be used;
Read more >
How to get Wine working on Catalina? - Apple Stack Exchange
To see all available options run brew search wine . brew install wine-stable. This will install /usr/local/bin/wine64 along with dependencies.
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