mirror of
https://github.com/YunoHost-Apps/ztncui_ynh.git
synced 2024-09-03 18:06:05 +02:00
[enh] silence npm warnings
This commit is contained in:
parent
d5f354b63d
commit
38cb8a218b
2 changed files with 6 additions and 6 deletions
|
@ -154,9 +154,9 @@ ynh_script_progression --message="Performing Node app installation..." --time --
|
||||||
chown -R $app: $final_path
|
chown -R $app: $final_path
|
||||||
|
|
||||||
pushd $final_path/src
|
pushd $final_path/src
|
||||||
exec_as $app $nodejs_path/npm install node-gyp
|
exec_as $app $nodejs_path/npm --loglevel=error install node-gyp
|
||||||
exec_as $app $nodejs_path/npm install
|
exec_as $app $nodejs_path/npm --loglevel=error install
|
||||||
exec_as $app $nodejs_path/npm audit fix
|
exec_as $app $nodejs_path/npm --loglevel=error audit fix
|
||||||
popd
|
popd
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
|
@ -143,9 +143,9 @@ ynh_script_progression --message="Performing Node app installation..." --time --
|
||||||
chown -R $app: $final_path
|
chown -R $app: $final_path
|
||||||
|
|
||||||
pushd $final_path/src
|
pushd $final_path/src
|
||||||
exec_as $app $nodejs_path/npm install node-gyp
|
exec_as $app $nodejs_path/npm --loglevel=error install node-gyp
|
||||||
exec_as $app $nodejs_path/npm install
|
exec_as $app $nodejs_path/npm --loglevel=error install
|
||||||
exec_as $app $nodejs_path/npm audit fix
|
exec_as $app $nodejs_path/npm --loglevel=error audit fix
|
||||||
popd
|
popd
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
Loading…
Add table
Reference in a new issue