diff --git a/scripts/install b/scripts/install index d05379d..8ed920a 100644 --- a/scripts/install +++ b/scripts/install @@ -170,6 +170,7 @@ ynh_system_user_create $app ynh_install_nodejs 11 ynh_use_nodejs +npm install -g typescript npm install -g ts-node #================================================= diff --git a/scripts/remove b/scripts/remove index f51ec68..72c9e29 100644 --- a/scripts/remove +++ b/scripts/remove @@ -101,6 +101,7 @@ fi ynh_use_nodejs npm uninstall -g ts-node +npm uninstall -g typescript ynh_remove_nodejs # Remove a cron file diff --git a/scripts/restore b/scripts/restore index 78622e9..b0ff196 100644 --- a/scripts/restore +++ b/scripts/restore @@ -93,6 +93,7 @@ chown -R root: $final_path ynh_install_nodejs 11 ynh_use_nodejs +npm install -g typescript npm install -g ts-node #================================================= diff --git a/scripts/upgrade b/scripts/upgrade index aebc75f..d8e6a57 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -112,6 +112,7 @@ ynh_system_user_create $app ynh_install_nodejs 11 ynh_use_nodejs +npm install -g typescript npm install -g ts-node ### Verify the checksum of a file, stored by `ynh_store_file_checksum` in the install script.