Changed uninstall a node package

This commit is contained in:
Marcin Woźniak 2024-11-14 07:59:36 +01:00
parent 852d3fc379
commit f056acc315
Signed by: y0rune
GPG Key ID: F204C385F57EB348

View File

@ -101,7 +101,7 @@ function install_node(){
timestamp "Node has been found"
else
if [[ "$(uname)" == "Darwin" ]]; then
sudo brew uninstall node
brew uninstall node --ignore-dependencies
sudo rm -rf /opt/homebrew/lib/node_modules/npm/
$install node
elif [[ -f $GENTOO ]]; then