ajout de build-essential pour installer node

This commit is contained in:
Valentin 2024-04-18 15:13:23 +02:00
parent 22d5bbdde2
commit 9607769086
1 changed files with 2 additions and 0 deletions

View File

@ -206,6 +206,8 @@ if [[ "$answer" == "y" ]]; then
mkdir /var/www/.npm
chown www-data:www-data /var/www/.npm
install_pkg build-essential
su -s /bin/bash -c 'curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.7/install.sh | bash &&\
export NVM_DIR="$HOME/.nvm" &&\
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" &&\