Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.Sign up
Build with codesign takes a long time when 'nodegit' is in my dependencies #1147
I am trying to build a project that has
The build takes a long time (i.e. never finishes). On my MacBook Pro (Retina, Mid 2012) running MacOS Sierra, the "Rebuilding" and "Packaging" steps take ~5 minutes, which is a bit slow. For the "Signing" step, however, I've waited 30+ minutes and never seen it finish.
A minimal package.json that reproduces the issue looks like this:
(To repro the signing slowness, you would need to get a developer certificate, etc.)
Based on the output of
With that in mind, these are my hypotheses:
Am I onto something with any of these? Any tips or suggestions?
Apologies if I've missed some important note in the documentation that pertains to this.
So it looks like codesign is going deep into hidden folders, including VCS databases, and signing all of those entries too. That's a lot to sign. Which explains the wait.
My workaround is to add some
First I exclude the whole
I did this through trial and error, so my file patterns are probably excluding some critical file. But this at least gets the build working, and I don't initially see any problems with
I have a similar problem, but I don't want to use
For me codesign, the final package
⚠️You must uninstall the previous version to avoid any conflicts. For users: - New installer/uninstaller with customizable installation path - Better night mode - Release tab has been deleted - Apply on [...] are now in the preset tabs with more options - Notifications are now handled within the app/system accordingly to the app's minimized state For developers: - Now using React and TypeScript - Switched from npm to yarn: electron-userland/electron-builder#1147 (comment) - Updated Continuous Delivery to GitLab v12.7.0
⚠Please avoid using v1 and v2 simultaneously. This version is stable enough to be released but is still under heavy development, **You may encounter bugs, if you encounter any, you can uninstall this version and go back to v1.** For users: - Users can now share presets and vote for them. - New installer/uninstaller with customizable installation path - #66 Add multi-language: English, Français, 简体中文, Deutsch, Türkçe. - Presets triggers are now in preset tabs with more options - Added splash screen - Better night mode - Release tab now open browser - Notifications are now handled within the app/system accordingly to the app's minimized state For developers: - Now using React and TypeScript - Switched from npm to yarn: electron-userland/electron-builder#1147 (comment) - Updated Continuous Delivery Contributors: @rikoopa @Jamiexhz @Silvaburn#3669