diff --git a/scripts/upgrade b/scripts/upgrade index faa00c8..b632330 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -134,9 +134,7 @@ chown -R "$app":"$app" "$final_path" pushd $final_path ynh_use_nodejs -sudo -u $app env PATH=$PATH:$nodejs_path npm install hoek@^4.2.1 --save -sudo -u $app env PATH=$PATH:$nodejs_path npm install typescript@>=2.0 --save -sudo -u $app env PATH=$PATH:$nodejs_path npm install ts-node +sudo -u $app env PATH=$PATH:$nodejs_path npm update sudo -u $app env PATH=$PATH:$nodejs_path npm install sudo -u $app env PATH=$PATH:$nodejs_path npm audit fix popd