-
Notifications
You must be signed in to change notification settings - Fork 84
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
Error when creating/building installer for linux (ubuntu 16.04) #15
Comments
sudo apt-get install icnsutils |
You have to add |
I will add some notes about it in the docs. |
Thanks for the replies. After following this link (https://github.com/electron-userland/electron-builder/wiki/Multi-Platform-Build#linux), below is the error:
As a workaround per discussion here: electron-userland/electron-builder#239, However, it would be much cleaner if build/icons folder is inside .desktop/assets directory since it is part of meteor-desktop build process in linux. But either way, it doesn't matter as long as it works!!! Very much grateful for this package!!! Thanks! |
I'm glad you have managed to work it out. |
@Rongky I'm trying to create a testapp but running into all sorts of issues. I did
Can you pls advise on the exact steps to following to create a test app on Ubuntu? Thank you. |
@Rongky ... pls ignore ... I didn't realize that I need to add a platform even I didnt need one ... I ran |
No probs @SantoshSrinivas79. That was also my initial error. This step was commented out in the docs, that's why. |
When running npm run desktop -- build-installer [ddp_url], below is the error:
...
Packaging for platform linux x64 using electron 1.4.4 to .desktop-installer/linux-unpacked
Unhandled rejection Error: Exit code: ENOENT. spawn icns2png ENOENT
at /home/user/myMeteorApp/node_modules/electron-builder/src/util/util.ts:102:16
at exithandler (child_process.js:220:5)
at ChildProcess.errorhandler (child_process.js:232:5)
at emitOne (events.js:77:13)
at ChildProcess.emit (events.js:169:7)
at Process.ChildProcess._handle.onexit (internal/child_process.js:198:12)
at onErrorNT (internal/child_process.js:344:16)
at nextTickCallbackWith2Args (node.js:442:9)
at process._tickCallback (node.js:356:17)
From previous event:
...
ERROR installerBuilder: error while building installer: [Error: Exit code: ENOENT. spawn icns2png ENOENT]
However, its fine when only packaging for linux (npm run desktop -- package [ddp_url]).
The text was updated successfully, but these errors were encountered: