Issue
The following error appears during yum update:
Error: Transaction test error: file /opt/alt/alt-nodejs16/root/usr/lib/node_modules/npm/node_modules/node-gyp from install of alt-nodejs16-npm-8.19.4-16.20.2.14.el8.x86_64 conflicts with file from package alt-nodejs16-npm-8.19.4-16.20.2.1.el8.x86_64 file /opt/alt/alt-nodejs18/root/usr/lib/node_modules/npm/node_modules/node-gyp from install of alt-nodejs18-npm-10.8.2-18.20.8.7.el8.x86_64 conflicts with file from package alt-nodejs18-npm-10.8.2-18.20.8.1.el8.x86_64
Environment
- alt-nodejs16
- alt-nodejs18
Solution
This is a known issue tracked under task ALTNJS-251, and a fix has already been released to the beta repository.
You can use one of the following commands to install or update ALT-NodeJS packages:
yum groupinstall alt-nodejs
yum update alt-nodejs1[6-8]-npm
Cause
A conflict during npm package upgrades related to node-gyp symlink handling.
Comments
0 comments
Please sign in to leave a comment.