Building on macOS 10.15 fails. Can't locate Mac/Memory.pm
See original GitHub issueWhich version of electron-builder are you using?
- 20.44.4:
What target are you building for?
- Mac(dmg):
I’m on MacOs 10.15 (beta2). While trying to build dmg I get following exception:
Error: Exit code: 2. Command failed: /usr/bin/perl /private/var/folders/9c/tprqfcrs66qff3x86tdp3_xw0000gn/T/t-yGVUjs/1-dmgProperties.pl
Can't locate Mac/Memory.pm in @INC (you may need to install the Mac::Memory module) (@INC contains: /Library/Perl/5.18/darwin-thread-multi-2level /Library/Perl/5.18 /Network/Library/Perl/5.18/darwin-thread-multi-2level /Network/Library/Perl/5.18 /Library/Perl/Updates/5.18.4/darwin-thread-multi-2level /Library/Perl/Updates/5.18.4 /System/Library/Perl/5.18/darwin-thread-multi-2level /System/Library/Perl/5.18 /System/Library/Perl/Extras/5.18/darwin-thread-multi-2level /System/Library/Perl/Extras/5.18 .) at /private/var/folders/9c/tprqfcrs66qff3x86tdp3_xw0000gn/T/t-yGVUjs/1-dmgProperties.pl line 4.
BEGIN failed--compilation aborted at /private/var/folders/9c/tprqfcrs66qff3x86tdp3_xw0000gn/T/t-yGVUjs/1-dmgProperties.pl line 4.
Can't locate Mac/Memory.pm in @INC (you may need to install the Mac::Memory module) (@INC contains: /Library/Perl/5.18/darwin-thread-multi-2level /Library/Perl/5.18 /Network/Library/Perl/5.18/darwin-thread-multi-2level /Network/Library/Perl/5.18 /Library/Perl/Updates/5.18.4/darwin-thread-multi-2level /Library/Perl/Updates/5.18.4 /System/Library/Perl/5.18/darwin-thread-multi-2level /System/Library/Perl/5.18 /System/Library/Perl/Extras/5.18/darwin-thread-multi-2level /System/Library/Perl/Extras/5.18 .) at /private/var/folders/9c/tprqfcrs66qff3x86tdp3_xw0000gn/T/t-yGVUjs/1-dmgProperties.pl line 4.
BEGIN failed--compilation aborted at /private/var/folders/9c/tprqfcrs66qff3x86tdp3_xw0000gn/T/t-yGVUjs/1-dmgProperties.pl line 4.
Possible issue with Perl on new Mac OS?
Issue Analytics
- State:
- Created 4 years ago
- Reactions:54
- Comments:16 (4 by maintainers)
Top Results From Across the Web
Apple can't check app for malicious software
Apple can't check app for malicious software · In the Finder on your Mac, locate the app you want to open. Don't use...
Read more >How to Fix macOS Catalina Installation Issues - MacSales.com
UPDATE 10.15.19: If all else fails with your Catalina install and you want to downgrade, check out our article, How to Downgrade from...
Read more >Can't build on macOS 10.14 when using the macOS 10.15 SDK
I guess based on the error message the problem is most likely that I'm trying to build on a host running macOS 10.14.6...
Read more >How to Fix “macOS cannot verify that this app is free from ...
Click on Open to run the app. Doing this adds the app to the whitelist, thus you won't see the error “macOS cannot...
Read more >Photoshop and Catalina | macOS 10.15 - Adobe Support
Find answers to common questions when running Photoshop with macOS Catalina.
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
update electron-builder version to 21.2.0
@UdaraJay Thanks a lot. And to whom don’t know how to build
pkg
instead ofdmg
, you could edit thepackage.json
: