Skip to content

Commit

Permalink
[scripts] npm install with root
Browse files Browse the repository at this point in the history
  • Loading branch information
ar2rsawseen committed Dec 2, 2021
1 parent 9c6c7d0 commit 47a864c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion bin/countly.install_rhel.sh
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ yum -y install sendmail
service sendmail start

#install npm modules
( cd "$DIR/.."; sudo npm install --unsafe-perm; sudo npm install argon2 --build-from-source; )
( cd "$DIR/.."; sudo npm install --unsafe-perm=true --allow-root; sudo npm install argon2 --build-from-source; )

#install numactl
yum install numactl -y
Expand Down
2 changes: 1 addition & 1 deletion bin/countly.install_ubuntu.sh
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ apt-get -y install numactl
apt-get -y install sendmail

#install npm modules
( cd "$DIR/.."; sudo npm install --unsafe-perm; sudo npm install argon2 --build-from-source; )
( cd "$DIR/.."; sudo npm install --unsafe-perm=true --allow-root; sudo npm install argon2 --build-from-source; )

#install mongodb
bash "$DIR/scripts/mongodb.install.sh"
Expand Down

0 comments on commit 47a864c

Please sign in to comment.