fix(shinobi): remove obsolete --unsafe-perm npm flag (#15730)

Shinobi installs fail on Node.js 22 because npm 10 no longer accepts the
--unsafe-perm CLI flag during npm install.
This commit is contained in:
Michel Roegl-Brunner
2026-07-13 11:11:08 +02:00
committed by GitHub
parent 12949bce6c
commit a1333222a8
+1 -1
View File
@@ -54,7 +54,7 @@ cronKey=$(head -c 1024 </dev/urandom | sha256sum | awk '{print substr($1,1,29)}'
sed -i -e 's/Shinobi/'"$cronKey"'/g' conf.json
cp super.sample.json super.json
$STD npm i npm -g
$STD npm install --unsafe-perm
$STD npm install
$STD npm install pm2@latest -g
chmod -R 755 .
touch INSTALL/installed.txt