10/2/2017 - 2:36 PM

Moving Node Modules to Avoid Pacman Conflicts

Or just

  1. mv /usr/lib/node_modules to /usr/lib/node_modules.old
  2. make the upgrade
  3. check both directories, if there is difference decide what to do with it.
  4. delete.old dir

sudo mv /usr/lib/node_modules /usr/lib/node_modules.old
sudo pacman -Syyu
sudo diff /usr/lib/node_modules /usr/lib/node_modules.old
echo "determine best way to handle differences between new & old dependencies"
echo "when done, delete old modules directory with: "
echo "sudo rm -rf /usr/lib/node_modules.old"