[fix] NPM version compatibility with debian nodejs

This commit is contained in:
ljf (zamentur) 2021-08-12 16:27:04 +02:00 committed by GitHub
parent 2ffb52200c
commit 85d8ef3465
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -305,7 +305,7 @@ EOF
then then
info "Installing dependencies to develop in yunohost-admin ..." info "Installing dependencies to develop in yunohost-admin ..."
apt install nodejs npm -y apt install nodejs npm -y
npm install -g npm@latest npm install -g npm@6
fi fi
# Install dependencies # Install dependencies