Nodejs-lts-jod-22.14.0-2 and nodejs-lts-iron-20.18.3-1.1 are in conflict

:: Starting full system upgrade...
resolving dependencies...
looking for conflicting packages...
error: unresolvable package conflicts detected
error: failed to prepare transaction (conflicting dependencies)
:: nodejs-lts-jod-22.14.0-2 and nodejs-lts-iron-20.18.3-1.1 are in conflict
 -> Failed to install layer, rolling up to next layer.error:error installing repo packages
:: Synchronizing package databases...
 cachyos-v3 is up to date
 cachyos-core-v3 is up to date
 cachyos-extra-v3 is up to date
 cachyos is up to date
 core is up to date
 extra is up to date
 multilib is up to date
:: Starting full system upgrade...
resolving dependencies...
looking for conflicting packages...
error: unresolvable package conflicts detected
error: failed to prepare transaction (conflicting dependencies)
:: nodejs-lts-jod-22.14.0-2 and nodejs-lts-iron-20.18.3-1.1 are in conflict
 -> error installing repo packages
error installing repo packages
❯ pacman -Qi nodejs-lts-iron
Installed From  : cachyos-extra-v3
Name            : nodejs-lts-iron
Version         : 20.18.2-1.1
Description     : Evented I/O for V8 javascript (LTS release: Iron)
Architecture    : x86_64_v3
URL             : https://nodejs.org/
Licenses        : MIT
Groups          : None
Provides        : nodejs=20.18.2
Depends On      : openssl  zlib  icu  libuv  c-ares  brotli  libnghttp2
Optional Deps   : npm: nodejs package manager [installed]
Required By     : balena-etcher  bitwarden-cli  node-gyp  nodejs-nopt  npm  semver
Optional For    : None
Conflicts With  : nodejs
Replaces        : None
Installed Size  : 46.47 MiB
Packager        : CachyOS <admin@cachyos.org>
Build Date      : Sat 25 Jan 2025 04:45:20 PM EST
Install Date    : Wed 05 Feb 2025 10:18:54 AM EST
Install Reason  : Installed as a dependency for another package
Install Script  : No
Validated By    : Signature
Linux Nostromo 6.13.1-2-cachyos #1 SMP PREEMPT_DYNAMIC Mon, 03 Feb 2025 22:41:34 +0000 x86_64 GNU/Linux

Anyone have any ideas on resolving this?

You need to remove one of them. They can’t live on the same system.

I don’t have both of them currently, but pacman/yay wants to install nodejs-lts-jod for some dependency. Trying to figure out what that is.

Try to update your system via pacman. If it results in a conflict, that means it’s a repo package that’s trying to install that version, if not then check your AUR packages via pacman -Qm.

Following up here in case anyone else runs into this. It turns out it was the bitwarden-cli package that was trying to pull-in lts-jod. I uninstalled that, and then also uninstalled older versions of electron which weren’t required and it cleared things up so I could do a upgrade via pacman thanks for the tip @naim