nodejs8/npm5 from dev:languages:nodejs

Hello,

Last friday I received an update for npm5, but afterwards I noticed neither nodejs8 nor npm5 are working. I looks like now there is a dependency on a nodejs-common package which cannot be installed because a newer build of nodejsX has to be available. The other way around nodejsX and npmX cannot be installed without nodejs-common package. Anyone else noticed or knows a workaround?

The output is as follows:

superman@krypton:~> sudo zypper in nodejs-common
Loading repository data…
Reading installed packages…
Resolving package dependencies…

Problem: nodejs-common-1.0-1.1.noarch requires nodejs, but this requirement cannot be provided
uninstallable providers: nodejs4-4.8.3-43.1.x86_64[devel:languages:nodejs]
nodejs6-6.11.0-32.1.x86_64[devel:languages:nodejs]
nodejs7-7.10.0-12.1.x86_64[devel:languages:nodejs]
nodejs8-8.1.3-7.1.x86_64[devel:languages:nodejs]
nodejs4-4.6.0-1.2.x86_64[repo-oss]
nodejs4-4.6.1-3.1.x86_64[repo-update]
nodejs4-4.7.3-5.3.1.x86_64[repo-update]
Solution 1: do not install nodejs-common-1.0-1.1.noarch
Solution 2: break nodejs-common-1.0-1.1.noarch by ignoring some of its dependencies

Choose from above solutions by number or cancel [1/2/c] (c):

and …

superman@krypton:~> sudo zypper in nodejs8
Loading repository data…
Reading installed packages…
Resolving package dependencies…

Problem: nodejs8-8.1.3-7.1.x86_64 requires nodejs-common, but this requirement cannot be provided
uninstallable providers: nodejs-common-1.0-1.1.noarch[devel:languages:nodejs]
Solution 1: do not install nodejs8-8.1.3-7.1.x86_64
Solution 2: break nodejs8-8.1.3-7.1.x86_64 by ignoring some of its dependencies

Choose from above solutions by number or cancel [1/2/c] (c):

Thx,

Peter

It’s an issue with the package and the it needs to be fixed by the maintainer.

You can install them by breaking the “dependencies”, you may have to create symlinks in /usr/bin/ to the right binaries by hand though. Someone asked the same thing in IRC earlier.