FS#79327 - [bitwarden-cli] package is broken and deprecated
Attached to Project:
Community Packages
Opened by Bryan (nurfed) - Tuesday, 08 August 2023, 10:26 GMT
Last edited by Toolybird (Toolybird) - Tuesday, 08 August 2023, 20:59 GMT
Opened by Bryan (nurfed) - Tuesday, 08 August 2023, 10:26 GMT
Last edited by Toolybird (Toolybird) - Tuesday, 08 August 2023, 20:59 GMT
|
Details
Description:
Running the bw command results in the following error: /usr/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:1029:16) at Module._compile (internal/modules/cjs/loader.js:1078:27) at Object.Module._extensions..js (internal/modules/cjs/loader.js:1143:10) at Module.load (internal/modules/cjs/loader.js:979:32) at Function.Module._load (internal/modules/cjs/loader.js:819:12) at Module.require (internal/modules/cjs/loader.js:1003:19) at require (internal/modules/cjs/helpers.js:107:18) at Object.<anonymous> (/usr/lib/node_modules/@bitwarden/cli/node_modules/jsdom/lib/jsdom/living/generated/HTMLInputElement.js:1875:14) at Module._compile (internal/modules/cjs/loader.js:1114:14) at Object.Module._extensions..js (internal/modules/cjs/loader.js:1143:10) Additionally, the bitwarden-cli (https://github.com/bitwarden/cli) has been deprecated in favor of https://contributing.bitwarden.com/getting-started/clients/cli/ (https://github.com/bitwarden/clients). |
This task depends upon
Closed by Toolybird (Toolybird)
Tuesday, 08 August 2023, 20:59 GMT
Reason for closing: Duplicate
Additional comments about closing: FS#78387
Tuesday, 08 August 2023, 20:59 GMT
Reason for closing: Duplicate
Additional comments about closing:
Anyway, what node version are you running?
I'm currently running node v14.21.3
And I'm not sure how the node version got changed in the first place as I use bitwarden almost daily without any issues and I haven't used nvm in quite a while. Therefore I didn't think of dump issues like an old node version being in use.
The only reason why I didn't do more debugging at first was because I assumed the package was outdated (because the wrong upstream url is still linked at https://archlinux.org/packages/extra/x86_64/bitwarden-cli/ and I didn't check the PKGBUILD at first. My bad).