Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

I encountered an issue with packaging the keytar module after upgrading electron-builder. #8978

Open
mayu888 opened this issue Mar 20, 2025 · 3 comments

Comments

@mayu888
Copy link

mayu888 commented Mar 20, 2025

before:
electron: 34.3.3
electron-builder: 23.6.0
keytar: 7.9.0
after:
electron: 34.3.3
electron-builder: 25.1.8
keytar: 7.9.0

Both versions of electron-builder have processed keytar, but the terminal outputs are slightly different:

electron-builder: 23.6.0:
Image
electron-builder: 25.1.8:

Image

The problem I encountered:

Image
@mmaietta
Copy link
Collaborator

Can you please try electron-builder v26.0.11?

@mayu888
Copy link
Author

mayu888 commented Mar 20, 2025

Can you please try electron-builder v26.0.11?

I've tried it. First of all, it reported an error like this:

Image

Then I asked ChatGPT, and it told me that I should exclude the keytar file in this way:

Image json5

But now I've encountered this problem again:

Image

@mmaietta
Copy link
Collaborator

So that's an error in electron/universal, which I think should be resolved by electron/universal#126

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants