ajrosen / Bitwarden-Accelerator

Alfred Workflow to make using Bitwarden faster and smoother with all applications
GNU General Public License v3.0
32 stars 1 forks source link

Unable to login #5

Closed nishyp closed 5 months ago

nishyp commented 5 months ago

Hi there,

I'm having some issues logging in with Bitwarden Accelerator. I'm using running Catalina 10.15.7 and the API Key as my login method. Please let me know if any other information is required

I found this by checking the debugger in Alfred.

/usr/local/Cellar/bitwarden-cli/2024.3.1/libexec/lib/node_modules/@bitwarden/cli/node_modules/jsdom/lib/jsdom/living/nodes/HTMLInputElement-impl.js:583
      this[filesSymbol] ||= FileList.createImpl(this._globalObject);
                        ^^^

SyntaxError: Unexpected token '||='
    at wrapSafe (internal/modules/cjs/loader.js:984:16)
    at Module._compile (internal/modules/cjs/loader.js:1032:27)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:1097:10)
    at Module.load (internal/modules/cjs/loader.js:933:32)
    at Function.Module._load (internal/modules/cjs/loader.js:774:14)
    at Module.require (internal/modules/cjs/loader.js:957:19)
    at require (internal/modules/cjs/helpers.js:88:18)
    at Object.<anonymous> (/usr/local/Cellar/bitwarden-cli/2024.3.1/libexec/lib/node_modules/@bitwarden/cli/node_modules/jsdom/lib/jsdom/living/generated/HTMLInputElement.js:1875:14)
    at Module._compile (internal/modules/cjs/loader.js:1068:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:1097:10)

Using homebrew to install bitwarden-cli as suggested was the issue for me.

Downloading the executable from https://bitwarden.com/help/cli/

moving it to

/usr/local/bin

and running

chmod +x /usr/local/bin/bw

in terminal did the trick