Closed fabaff closed 7 years ago
$ npm run-script build_linux doesn't work on Fedora out-of-the-box.
$ npm run-script build_linux
$ npm run-script build_linux > home_assistant_electron@1.0.0 build_linux /home/fab/Documents/repos/HomeAssistantElectron > build -c electron-builder.yml --linux Using electron-builder.yml configuration file No native production dependencies Packaging for linux x64 using electron 1.6.5 to dist/linux-unpacked Unhandled rejection Error: Exit code: ENOENT. spawn icns2png ENOENT [...] npm ERR! Linux 4.10.8-200.fc25.x86_64 npm ERR! argv "/usr/bin/node" "/usr/bin/npm" "run-script" "build_linux" npm ERR! node v6.10.0 npm ERR! npm v3.10.10 npm ERR! code ELIFECYCLE npm ERR! home_assistant_electron@1.0.0 build_linux: `build -c electron-builder.yml --linux` npm ERR! Exit status 255 npm ERR! npm ERR! Failed at the home_assistant_electron@1.0.0 build_linux script 'build -c electron-builder.yml --linux'. npm ERR! Make sure you have the latest version of node.js and npm installed.
$ npm test works.
$ npm test
Hi @fabaff,
thank you for the log. I have no Linux machine for testing at the moment, but I will set up a VM tonight and hopefully fix this!
$ sudo ln -s /usr/lib64/libbz2.so.1.0.6 /usr/lib64/libbz2.so.1.0
$ npm run-script build_linux
doesn't work on Fedora out-of-the-box.$ npm test
works.