You are not logged in.

#1 2024-05-02 08:45:50

FriedrichNietzsche
Member
Registered: 2018-09-05
Posts: 43

nodejs-lts-hydrogen-18.18.2-2 and nodejs-21.7.3-1 are in conflict

Hi,

I just wanted to install bitwarden-cli from the official repos, but I was suprised with the fact, that it needs nodejs-lts-hydrogen, which apparently cannot be installed at the same time as nodejs, which I also need as a dependency for other packages from the official repo. This seems weird to me, since I already have the bitwarden Electron application install, which also seems to have nodejs-lts-hydrogen as a make dependecy. Can someone explain, why I cannot use these two applications alongside each other?

Thanks!

Offline

#2 2024-05-14 20:45:50

sfabius
Member
Registered: 2007-07-07
Posts: 154

Re: nodejs-lts-hydrogen-18.18.2-2 and nodejs-21.7.3-1 are in conflict

I'm having the same issue. Does anyone have a suggestion for a way around this?

Offline

#3 2024-05-14 20:48:47

Scimmia
Fellow
Registered: 2012-09-01
Posts: 11,639

Re: nodejs-lts-hydrogen-18.18.2-2 and nodejs-21.7.3-1 are in conflict

Offline

#4 2024-05-16 08:53:44

glitsj16
Member
Registered: 2015-04-26
Posts: 122

Re: nodejs-lts-hydrogen-18.18.2-2 and nodejs-21.7.3-1 are in conflict

Some clarifications might help here.   

The `run-time` dependency for bitwarden-cli on `nodejs-lts-hydrogen` stems from upstream's requirements. Nothing Arch Linux can do anything about. For packages that depend on nodejs-lts-hydrogen as `make dependency`, Scimmia's advise is the way to go: build in a clean chroot.   

Alternatively one could use NVM (Node Version Manager) via nvm. There's more info on the wiki about that.   

Another option to avoid (potential) nodejs dependency conflicts I'm considering is using rbw, which doesn't use nodejs at all.   

Unfortunate situation really, but that's how it looks...

Last edited by glitsj16 (2024-05-16 09:05:41)

Offline

#5 2024-05-17 09:07:25

FriedrichNietzsche
Member
Registered: 2018-09-05
Posts: 43

Re: nodejs-lts-hydrogen-18.18.2-2 and nodejs-21.7.3-1 are in conflict

I circumvented the problem by using bitwarden-cli-bin from AUR.

Offline

Board footer

Powered by FluxBB