mirror of
https://github.com/community-scripts/ProxmoxVE.git
synced 2026-07-14 09:55:07 +02:00
fix(shinobi): remove obsolete --unsafe-perm npm flag
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:
@@ -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
|
sed -i -e 's/Shinobi/'"$cronKey"'/g' conf.json
|
||||||
cp super.sample.json super.json
|
cp super.sample.json super.json
|
||||||
$STD npm i npm -g
|
$STD npm i npm -g
|
||||||
$STD npm install --unsafe-perm
|
$STD npm install
|
||||||
$STD npm install pm2@latest -g
|
$STD npm install pm2@latest -g
|
||||||
chmod -R 755 .
|
chmod -R 755 .
|
||||||
touch INSTALL/installed.txt
|
touch INSTALL/installed.txt
|
||||||
|
|||||||
Reference in New Issue
Block a user