mirror of
https://github.com/YunoHost-Apps/wikijs_ynh.git
synced 2024-09-03 20:36:09 +02:00
fix sudo $app npm
This commit is contained in:
parent
7a10c13835
commit
f0d74fd287
1 changed files with 7 additions and 2 deletions
|
@ -173,10 +173,15 @@ ynh_system_user_create $app
|
|||
#=================================================
|
||||
|
||||
chown -R $app: $final_path
|
||||
pushd $final_path
|
||||
|
||||
|
||||
ynh_use_nodejs
|
||||
export PATH="$PATH:$nodejs_path"
|
||||
sudo -u "$app" npm install "graphql@^0.13.1"
|
||||
|
||||
|
||||
( cd $final_path && sudo -u "$app" npm install "graphql@^0.13.1" )
|
||||
pushd $final_path
|
||||
#sudo -u "$app" npm install "graphql@^0.13.1"
|
||||
sudo -u "$app" npm install "acorn@^6.0.0"
|
||||
sudo -u "$app" npm install "babel-core@>=6.0.20"
|
||||
sudo -u "$app" npm install "eslint@>=5.0.0"
|
||||
|
|
Loading…
Reference in a new issue