mirror of
https://github.com/community-scripts/ProxmoxVE.git
synced 2026-07-13 17:35:06 +02:00
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:
committed by
GitHub
parent
12949bce6c
commit
a1333222a8
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user