fix sudo npm
This commit is contained in:
parent
189c62f511
commit
26adf6118b
@ -172,6 +172,8 @@ ynh_system_user_create $app
|
||||
# ...
|
||||
#=================================================
|
||||
|
||||
chown -R $app: $final_path
|
||||
|
||||
pushd $final_path
|
||||
ynh_use_nodejs
|
||||
sudo -u $app $nodejs_path/npm install "graphql@^0.13.1"
|
||||
|
Loading…
x
Reference in New Issue
Block a user