Skip to content
Advertisement

Failed to commit transaction (conflicting files) when updating packages on Manjaro [closed]

sudo pacman -Syu

I try updating all the packages using pacman on my Manjaro Linux and pacman necessarily does everything to download the latest updates of all the available packages and after checking for file conflicts, it throws

JavaScript

Should I have to do anything specific for the node_modules which I assume are the globally installed node modules to be over written or something?

Advertisement

Answer

Removing the npm package first and then deleting node_modules directory is a workaround that I used to make this work. However, I am not sure if that is the right solution. You can do something like this before you do a full update and then install the npm back again.

JavaScript
User contributions licensed under: CC BY-SA
5 People found this is helpful
Advertisement