Package Details: bitwarden 1.15.2-4

Git Clone URL: https://aur.archlinux.org/bitwarden.git (read-only)
Package Base: bitwarden
Description: Bitwarden Desktop Application
Upstream URL: https://github.com/bitwarden/desktop
Keywords: password-manager
Licenses: GPL3
Conflicts: bitwarden-bin, bitwarden-git
Submitter: libertylocked
Maintainer: libertylocked
Last Packager: libertylocked
Votes: 19
Popularity: 4.150566
First Submitted: 2018-10-11 08:37
Last Updated: 2019-09-17 07:30

Latest Comments

1 2 3 Next › Last »

Omar007 commented on 2019-09-19 15:37

Ah yea right, I totally missed that it was still in there when I looked at the diff. My bad.

libertylocked commented on 2019-09-18 16:59

depends are automatically makedepends so as long as electron is in depends it doesn't need to be duplicated in makedepends

Omar007 commented on 2019-09-18 09:27

Git was added to the makedepends (good) but the electron makedepends entry was removed in the process (bad, since it's still used in prepare() and during build).

hwaiting commented on 2019-09-17 10:08

Nvm, user error.

Omar007 commented on 2019-09-16 13:59

EDIT2: git is required in makedepends after all. The other error was a red herring and only a problem on my end because I build it on a TTY and electron --version fails to run in that setup causing weird issues further along the build process.


EDIT: nvm, it seems the cases where git is used should have been disabled by preventing sub:init from running as is done in prepare() but for some reason this isn't happening when I run makepkg --syncdeps --noconfirm --log --check. Investigating further.


To be able to build this, git is required in the makedepends array.

If it's not present, the build will fail in NPM with:

npm ERR! code ENOGIT
npm ERR! Error while executing:
npm ERR! undefined ls-remote -h -t https://github.com/duosecurity/duo_web_sdk.git
npm ERR! 
npm ERR! undefined
npm ERR! No git binary found in $PATH
npm ERR! 
npm ERR! Failed using git.
npm ERR! Please check if you have git installed and in your PATH.

bakunowski commented on 2019-08-09 10:57

The package works flawlessly again, thank you!

libertylocked commented on 2019-08-09 05:19

Thanks for the comment, I didn't know Arch community updated electron again.

This time I'm patching package.json and it should build with whatever system electron version is. Let me know if there are any issues!

yochananmarqos commented on 2019-08-07 22:15

I just rebuilt this since npm updated to 6.10.3 and electron to 6.0.0 and I get this running it:

$ bitwarden-desktop 
App threw an error during load
Error: The module '/tmp/.org.chromium.Chromium.xEhCsr'
was compiled against a different Node.js version using
NODE_MODULE_VERSION 70. This version of Node.js requires
NODE_MODULE_VERSION 73. Please try re-compiling or re-installing
the module (for instance, using `npm rebuild` or `npm install`).
    at process.func (electron/js2c/asar.js:155:31)
    at process.func [as dlopen] (electron/js2c/asar.js:155:31)
    at Object.Module._extensions..node (internal/modules/cjs/loader.js:828:18)
    at Object.func (electron/js2c/asar.js:155:31)
    at Object.func [as .node] (electron/js2c/asar.js:164:18)
    at Module.load (internal/modules/cjs/loader.js:645:32)
    at Function.Module._load (internal/modules/cjs/loader.js:560:12)
    at Module.require (internal/modules/cjs/loader.js:685:19)
    at require (internal/modules/cjs/helpers.js:16:16)
    at Object.<anonymous> (/usr/lib/bitwarden/resources/app.asar/node_modules/desktop-idle/index.js:1:21)
A JavaScript error occurred in the main process
Uncaught Exception:
Error: The module '/tmp/.org.chromium.Chromium.xEhCsr'
was compiled against a different Node.js version using
NODE_MODULE_VERSION 70. This version of Node.js requires
NODE_MODULE_VERSION 73. Please try re-compiling or re-installing
the module (for instance, using `npm rebuild` or `npm install`).
    at process.func (electron/js2c/asar.js:155:31)
    at process.func [as dlopen] (electron/js2c/asar.js:155:31)
    at Object.Module._extensions..node (internal/modules/cjs/loader.js:828:18)
    at Object.func (electron/js2c/asar.js:155:31)
    at Object.func [as .node] (electron/js2c/asar.js:164:18)
    at Module.load (internal/modules/cjs/loader.js:645:32)
    at Function.Module._load (internal/modules/cjs/loader.js:560:12)
    at Module.require (internal/modules/cjs/loader.js:685:19)
    at require (internal/modules/cjs/helpers.js:16:16)
    at Object.<anonymous> (/usr/lib/bitwarden/resources/app.asar/node_modules/desktop-idle/index.js:1:21)

libertylocked commented on 2019-08-02 08:00

Updated to 1.15.2. Also because upstream now uses electron 5, the bundled electron has finally been removed. The package now has a runtime dep on electron, but it is a lot smaller (5MB vs 50MB before)!

libertylocked commented on 2019-05-16 05:26

1.14.0-3 fixed the package! Unfortunately I have to bundle electron3, which makes the package a bit bigger. Sorry for the wait