mirror of
https://github.com/YunoHost-Apps/wikijs_ynh.git
synced 2024-09-03 20:36:09 +02:00
Fix sudo npm
This commit is contained in:
parent
660f31ec1c
commit
189c62f511
1 changed files with 7 additions and 7 deletions
|
@ -174,13 +174,13 @@ ynh_system_user_create $app
|
||||||
|
|
||||||
pushd $final_path
|
pushd $final_path
|
||||||
ynh_use_nodejs
|
ynh_use_nodejs
|
||||||
npm install "graphql@^0.13.1"
|
sudo -u $app $nodejs_path/npm install "graphql@^0.13.1"
|
||||||
npm install "acorn@^6.0.0"
|
sudo -u $app $nodejs_path/npm install "acorn@^6.0.0"
|
||||||
npm install "babel-core@>=6.0.20"
|
sudo -u $app $nodejs_path/npm install "babel-core@>=6.0.20"
|
||||||
npm install "eslint@>=5.0.0"
|
sudo -u $app $nodejs_path/npm install "eslint@>=5.0.0"
|
||||||
npm install
|
sudo -u $app $nodejs_path/npm install
|
||||||
npm audit fix
|
sudo -u $app $nodejs_path/npm audit fix
|
||||||
npm run build
|
sudo -u $app $nodejs_path/npm run build
|
||||||
popd
|
popd
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue