From b75d4e0882c06f270f4e75051d4e476f59a1e13d Mon Sep 17 00:00:00 2001 From: scamdotnet <43154292+scamdotnet@users.noreply.github.com> Date: Mon, 22 Mar 2021 11:58:46 -0400 Subject: [PATCH] fix 'nvm: command not found' --- apps/Node.js/uninstall | 2 ++ 1 file changed, 2 insertions(+) diff --git a/apps/Node.js/uninstall b/apps/Node.js/uninstall index 179fa81..e2da3f9 100755 --- a/apps/Node.js/uninstall +++ b/apps/Node.js/uninstall @@ -8,6 +8,8 @@ function error { } #Uninstall NodeJS +export NVM_DIR="$HOME/.config/nvm" +cd $NVM_DIR nvm uninstall default || error "Failed to purge Node.JS!" #Remove nvm