Changed uninstall a node package
This commit is contained in:
parent
852d3fc379
commit
f056acc315
@ -101,7 +101,7 @@ function install_node(){
|
|||||||
timestamp "Node has been found"
|
timestamp "Node has been found"
|
||||||
else
|
else
|
||||||
if [[ "$(uname)" == "Darwin" ]]; then
|
if [[ "$(uname)" == "Darwin" ]]; then
|
||||||
sudo brew uninstall node
|
brew uninstall node --ignore-dependencies
|
||||||
sudo rm -rf /opt/homebrew/lib/node_modules/npm/
|
sudo rm -rf /opt/homebrew/lib/node_modules/npm/
|
||||||
$install node
|
$install node
|
||||||
elif [[ -f $GENTOO ]]; then
|
elif [[ -f $GENTOO ]]; then
|
||||||
|
Loading…
Reference in New Issue
Block a user