Issue
yum error:
Error: Transaction test error: file /opt/alt/alt-nodejs20/root/usr/lib/node_modules/npm/node_modules/node-gyp from install of alt-nodejs20-npm-10.8.2-20.20.0.1.el8.x86_64 conflicts with file from package alt-nodejs20-npm-10.8.2-20.19.4.1.el8.x86_64 file /opt/alt/alt-nodejs20/root/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js conflicts between attempted installs of alt-nodejs20-npm-10.8.2-20.20.0.1.el8.x86_64 and alt-nodejs20-npm-10.8.2-20.20.0.1.el8.x86_64 file /opt/alt/alt-nodejs24/root/usr/lib/node_modules/npm/node_modules/node-gyp from install of alt-nodejs24-npm-11.6.2-24.13.0.1.el8.x86_64 conflicts with file from package alt-nodejs24-npm-11.5.1-24.6.0.1.el8.x86_64 file /opt/alt/alt-nodejs22/root/usr/lib/node_modules/npm/node_modules/node-gyp from install of alt-nodejs22-npm-10.9.4-22.22.0.1.el8.x86_64 conflicts with file from package alt-nodejs22-npm-10.9.3-22.18.0.1.el8.x86_64
Environment
- ALT-NodeJS 20/22/24
- CloudLinux OS 7/8/9
Solution
This is a known issue tracked under task ALTNJS-241, and a fix has already been released to the beta repository. Please update the package from the beta repository by running the following command:
yum update alt-nodejs2[0-4]-npm --enablerepo=cloudlinux-rollout-13-bypass
And re-run the update.
Cause
A conflict during npm package upgrades related to node-gyp symlink handling.
Comments
0 comments
Please sign in to leave a comment.