Try installing npm without sudo
This commit is contained in:
parent
2838cede68
commit
b411f9b125
1 changed files with 1 additions and 1 deletions
|
|
@ -6,7 +6,7 @@ if [ "$1" != "update" && "$1" != "check-only" ]; then
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
sudo npm install --force -g npm@9.2.0
|
npm install --force -g npm@9.2.0
|
||||||
|
|
||||||
# clean the npm cache to ensure we don't have any files owned by root
|
# clean the npm cache to ensure we don't have any files owned by root
|
||||||
sudo npm cache clean --force
|
sudo npm cache clean --force
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue