Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

electron build fails on mac due to wine dependancy #11

Open
AlexBezuska opened this issue Aug 25, 2016 · 0 comments
Open

electron build fails on mac due to wine dependancy #11

AlexBezuska opened this issue Aug 25, 2016 · 0 comments

Comments

@AlexBezuska
Copy link
Member

AlexBezuska commented Aug 25, 2016

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! [email protected] electron: `webpack && node electron.js`
npm ERR! Exit status 4
npm ERR! 
npm ERR! Failed at the [email protected] 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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant