Unable to build from source on macOS
See original GitHub issuenpm run dev
works well for testing the hot-swappable version but when I try to package the app using npm run package-all
I receive the following error on macOS 10.12.2, node v7.2.1 and the packaging process fails to build the binary.
Error: Cannot check wine version: Error: Exit code: ENOENT. spawn wine ENOENT
at /Users/machawk1/Downloads/hydrator/node_modules/electron-builder/src/packager.ts:314:13
at Generator.throw (<anonymous>)
From previous event:
at checkWineVersion (/Users/machawk1/Downloads/hydrator/node_modules/electron-builder/out/packager.js:57:22)
at /Users/machawk1/Downloads/hydrator/node_modules/electron-builder/src/packager.ts:143:17
From previous event:
at Packager.doBuild (/Users/machawk1/Downloads/hydrator/node_modules/electron-builder/out/packager.js:275:11)
at /Users/machawk1/Downloads/hydrator/node_modules/electron-builder/src/packager.ts:114:38
at Generator.next (<anonymous>)
at runCallback (timers.js:649:20)
at tryOnImmediate (timers.js:622:5)
at processImmediate [as _immediateCallback] (timers.js:594:5)
From previous event:
at Packager.build (/Users/machawk1/Downloads/hydrator/node_modules/electron-builder/out/packager.js:227:11)
at /Users/machawk1/Downloads/hydrator/node_modules/electron-builder/src/builder.ts:249:40
at Generator.next (<anonymous>)
From previous event:
at build (/Users/machawk1/Downloads/hydrator/node_modules/electron-builder/out/builder.js:90:21)
at Object.<anonymous> (/Users/machawk1/Downloads/hydrator/node_modules/electron-builder/out/cli/build-cli.js:68:41)
at Module._compile (module.js:571:32)
at Object.Module._extensions..js (module.js:580:10)
at Module.load (module.js:488:32)
at tryModuleLoad (module.js:447:12)
at Function.Module._load (module.js:439:3)
at Module.runMain (module.js:605:10)
at run (bootstrap_node.js:420:7)
at startup (bootstrap_node.js:139:9)
at bootstrap_node.js:535:3
npm ERR! Darwin 16.3.0
npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "run" "package-all"
npm ERR! node v7.2.1
npm ERR! npm v3.10.10
npm ERR! code ELIFECYCLE
npm ERR! electron-react-boilerplate@0.10.0 package-all: `npm run build && build -mwl`
npm ERR! Exit status 255
npm ERR!
npm ERR! Failed at the electron-react-boilerplate@0.10.0 package-all script 'npm run build && build -mwl'.
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 electron-react-boilerplate package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! npm run build && build -mwl
npm ERR! You can get information on how to open an issue for this project with:
npm ERR! npm bugs electron-react-boilerplate
npm ERR! Or if that isn't available, you can get their info via:
npm ERR! npm owner ls electron-react-boilerplate
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR! /Users/machawk1/Downloads/hydrator/npm-debug.log
Issue Analytics
- State:
- Created 7 years ago
- Comments:9 (9 by maintainers)
Top Results From Across the Web
[Bug] Unable to build from source, MacOS 11.4. #460 - GitHub
I am unable to build from source with a fresh clone of the master branch. I am running MacOS 11.4 and it appears...
Read more >Why new Macs break your Docker build, and how to fix it
It unpacks it, and tries to compile the package from source. At this point it fails, because there's no gcc compiler installed in...
Read more >Not Able to Build Some Versions of Python on M1 at 12.3.1
I trying to build older version of python such as 3.6, 3.7, 3.8 using pyenv and having build failures. I am on apple...
Read more >Error building ROOT from source on MacOS 12.4
I'm trying to build root from source. System: MacOS 12.4, Intel chip, all command line tools upgraded to the latest version. Build command:...
Read more >Installation | Watchman - Meta Open Source
Installation. System Requirements. Watchman is known to compile and pass its test suite on: Linux systems with inotify; macOS (uses FSEvents on 10.7+, ......
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Thanks! 🍰
Oops I didn’t mean to close just yet. It sounds like the readme should be improved to avoid people running into this?