Merge branch 'fix/maxsockets-npm' into 'master'
Set maxsockets for npm install during build to avoid network errors See merge request Shinobi-Systems/Shinobi!498alpha
commit
4979b1d57e
|
@ -17,6 +17,6 @@ fi
|
|||
if [ -x "$(command -v npm)" ]; then
|
||||
echo "NPM detected. Version : $(npm -v)"
|
||||
fi
|
||||
npm install --unsafe-perm
|
||||
npm install --unsafe-perm $([ `dpkg --print-architecture` = "arm64" ] && echo --maxsockets 1)
|
||||
npm i pm2@latest -g
|
||||
npm i pg
|
||||
|
|
Loading…
Reference in New Issue