question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

How do I rebuild keytar using electron-builder instead of electron-rebuild?

See original GitHub issue
  • Version: 20.8.1
  • Target: Windows x64

During build, the following notice is shown:

electron-rebuild not required if you use electron-builder, please consider to remove excess dependency from devDependencies

I have a rebuild script in my package.json as I use keytar:

  • "rebuild": "electron-rebuild -f -w keytar"

If I remove electron-rebuild, what command do I use to rebuild using electron-builder?

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Reactions:1
  • Comments:7 (1 by maintainers)

github_iconTop GitHub Comments

7reactions
devuxercommented, Apr 17, 2019

@develar

I have the same question, except SQLite instead of keytar.

What is the equivalent of this:

electron-rebuild -f -w sqlite3

…in electron-builder?

0reactions
douglassllccommented, Jan 7, 2020

@Laruxo thanks for the suggest. I will give this a try.

Read more comments on GitHub >

github_iconTop Results From Across the Web

node.js - What is the difference between electron-builder and ...
Electron -Builder provides a complete solution to build and package your app, and Electron-Rebuild is just for rebuilding dependencies. If you're ...
Read more >
Native Node Modules | Electron
You can install modules like other Node projects, and then rebuild the modules for Electron with the electron-rebuild package. This module can automatically ......
Read more >
Meteor-Desktop - Keytar no longer working - how to upgrade?
Yes, it's version 6.0.1 and I didn't change Electron version (still stuck on the same) nor the Keytar version. Any idea on the...
Read more >
Build and Secure an Electron App - OpenID, OAuth, Node.js ...
The goal of this tutorial is to show you how to secure an Electron application with OpenID Connect and OAuth 2.0.
Read more >
electron-rebuild | Yarn - Package Manager
This executable rebuilds native Node.js modules against the version of Node.js that your Electron project is using. This allows you to use native...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found