update "npm audit fix"

merge-requests/25/head
Moe 2018-09-23 08:43:29 -07:00
parent e3890391bd
commit a24b5e5d25
4 changed files with 9 additions and 7 deletions

View File

@ -135,7 +135,7 @@ echo "============="
echo "Shinobi - Install NPM Libraries"
sudo npm i npm -g
sudo npm install --unsafe-perm
sudo npm audit fix --unsafe-perm
sudo npm audit fix --force
echo "============="
echo "Shinobi - Install PM2"
sudo npm install pm2 -g
@ -188,4 +188,4 @@ else
echo "||===== Install Completed =====||"
echo "|| Access the main Shinobi panel at http://$(ifconfig | sed -En 's/127.0.0.1//;s/.*inet (addr:)?(([0-9]*\.){3}[0-9]*).*/\2/p'):8080 in your web browser."
echo "+=================================+"
fi
fi

View File

@ -43,7 +43,7 @@ echo "============="
echo "Shinobi - Install NPM Libraries"
npm i npm -g
npm install --unsafe-perm
npm audit fix --unsafe-perm
sudo npm audit fix --force
echo "============="
echo "Shinobi - Install PM2"
npm install pm2 -g

View File

@ -134,7 +134,9 @@ else
fi
echo "============="
echo "Shinobi - Install NPM Libraries"
sudo npm install
npm i npm -g
npm install --unsafe-perm
sudo npm audit fix --force
echo "============="
echo "Shinobi - Install PM2"
sudo npm install pm2 -g
@ -187,4 +189,4 @@ else
echo "||===== Install Completed =====||"
echo "|| Access the main Shinobi panel at http://$(/sbin/ip -o -4 addr list eth0 | awk '{print $4}' | cut -d/ -f1):8080 in your web browser."
echo "+=================================+"
fi
fi

View File

@ -149,7 +149,7 @@ echo "============="
echo "Shinobi - Install NPM Libraries"
sudo npm i npm -g
sudo npm install --unsafe-perm
sudo npm audit fix --unsafe-perm
sudo npm audit fix --force
echo "============="
echo "Shinobi - Install PM2"
sudo npm install pm2 -g
@ -202,4 +202,4 @@ else
echo "||===== Install Completed =====||"
echo "|| Access the main Shinobi panel at http://$(ifconfig | sed -En 's/127.0.0.1//;s/.*inet (addr:)?(([0-9]*\.){3}[0-9]*).*/\2/p'):8080 in your web browser."
echo "+=================================+"
fi
fi