Hello! I have installed the Bitwarden packages via home-manager
. My ocnfig looks like this:
in {
home.packages = [
...
pkgs.bitwarden
pkgs.bitwarden-cli
];
I used the instructions from the NixOS wiki page.
I’m able to start the program but I am unable to authenticate. When I try I get “An unexpected error has occurred.”
I get the following errors immediately after startup from the command line but before attempting to authenticate:
(node:4762) DeprecationWarning: file property is deprecated and will be removed in v5.
(node:4762) electron: The default of contextIsolation is deprecated and will be changing
from false to true in a future release of Electron. See
https://github.com/electron/electron/issues/23506 for more information
(node:4762) UnhandledPromiseRejectionWarning: TypeError: Cannot read property
'setContextMenu' of undefined
...
(node:4762) UnhandledPromiseRejectionWarning: Unhandled promise rejection.
This error originated either by throwing inside of an async function without a catch
block, or by rejecting a promise which was not handled with .catch(). To terminate
the node process on unhandled promise rejection, use the CLI flag
`--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode).
(rejection id: 1)
(node:4762) [DEP0018] DeprecationWarning: Unhandled promise rejections are
deprecated. In the future, promise rejections that are not handled will terminate
the Node.js process with a non-zero exit code.
I don’t see any errors in the terminal after trying to authenticate.
Here’s what I’ve tried to fix it:
- Reboot
- Run the
bitwarden
app from the cli with the--unhandled-rejections=strict
flag.
Is there some other troubleshooting that I can try?
Also, I a able to login using the web interface and the Android app. It’s just the Liunx app that is giving me problems.