-
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
hdiutil error when building for mac #854
Comments
An error occurred on both? |
Sorry @develar , I wasn't really clear. The Synchronize.app works fine on both macOS versions. But I guess thats not relevant for my problem with hdiutils. |
I don't see any clear error from |
@develar I added the -debug flag. Error: Exit code: undefined. stderr maxBuffer exceeded Output: |
I got it to work once just now. No error and a fully functional dmg was generated. At first I thought it had something to do with me changing the app/package.json file, but it doesn't seem like that was the problem. Same error now. |
Error is not reported because we pass |
Please try 7.15.0 |
7.15.0 works, thanks @develar! |
Strange, thanks for confirmation. Probably spawn vs exec makes the deal :) |
I though the problem was resolved but it seems like it appears after I have built the application once. hdiutil cannot unmount the dmg even though I have manually unmounted and deleted the old one.
hdiutil eject -force /dev/disk2s1 just returns hdiutil: eject failed - Not found. |
Could you please attach full build log? |
Sorry about that, here it is. If I run hdiutil command manually:
Build log:
|
Damn. I've been running the build on my work computer which has AVG AntiVirus installed... The realtime protection caused the problem, now the build runs fine. Thanks again @develar. |
Ouch... AntiVirus on macOS :) Thanks for update. |
Ohhhhh!!! With AVG Cleaner i have same errors! Thank you @develar and @stefanedberg! |
Got the error with Sophos too, works properly by deactivate it |
Also, this might appear if you have installed XCode but did not yet run it, thus some components are not installed. Make sure to run at least once. |
Hi @karimhossenbux , I'm also using Sophos, I already stop scanning and turn off all of the features, but it looks like it doesn't work. How do you deactivate it? |
Also getting the same
Getting the same log output on my end too. Is there a way to increase the number of retries @develar ? Once in a blue moon i do see it passing... |
hdiutil outputs an error when building my Electron project. The app is generated and seem to work (tested on two Mac's with different macOS versions). If I run the hdiutil command manually it doesn't output anything.
build platform: macOS Sierra 10.12.1
target platform: macOS
node: v7.0.0 (also tested on v6.9.1)
electron: v1.4.4
electron-builder: 7.14.2
The text was updated successfully, but these errors were encountered: