Skip to content
This repository was archived by the owner on Mar 16, 2026. It is now read-only.
This repository was archived by the owner on Mar 16, 2026. It is now read-only.

electron build fails on mac due to wine dependancy #11

@AlexBezuska

Description

@AlexBezuska

Console dump:

Downloading electron-v0.37.1-win32-ia32.zip
[============================================>] 100.0% of 38.07 MB (6.09 MB/s)
Packaging app for platform win32 ia32 using electron v0.37.1
{ [Error: Could not find "wine" on your system.

Wine is required to use the app-copyright, app-version, build-version, icon, and 
version-string parameters for Windows targets.

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

See https://github.com/electron-userland/electron-packager#building-windows-apps-from-non-windows-platforms for details.]
  code: 'ENOENT',
  errno: 'ENOENT',
  syscall: 'spawn wine',
  path: 'wine',
  spawnargs: 
   [ '/Users/abezuska/projects/splat-ecs-starter-project/node_modules/rcedit/bin/rcedit.exe',
     '/var/folders/z_/kt9t_2gj3gb0wv903m21gh180000gp/T/electron-packager/win32-ia32/splat-ecs-starter-project-win32-ia32/splat-ecs-starter-project.exe',
     '--set-product-version',
     '0.0.11' ] }

npm ERR! Darwin 15.3.0
npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "run" "electron"
npm ERR! node v5.3.0
npm ERR! npm  v3.3.12
npm ERR! code ELIFECYCLE
npm ERR! splat-ecs-starter-project@0.0.11 electron: `webpack && node electron.js`
npm ERR! Exit status 4
npm ERR! 
npm ERR! Failed at the splat-ecs-starter-project@0.0.11 electron script 'webpack && node electron.js'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the splat-ecs-starter-project package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     webpack && node electron.js
npm ERR! You can get their info via:
npm ERR!     npm owner ls splat-ecs-starter-project
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR!     /Users/abezuska/projects/splat-ecs-starter-project/npm-debug.log

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions