diff --git a/scripts/install b/scripts/install index 46e5efe..d05379d 100644 --- a/scripts/install +++ b/scripts/install @@ -170,7 +170,7 @@ ynh_system_user_create $app ynh_install_nodejs 11 ynh_use_nodejs -npm install -g typescript +npm install -g ts-node #================================================= # SETUP SYSTEMD diff --git a/scripts/remove b/scripts/remove index 3505ae1..f51ec68 100644 --- a/scripts/remove +++ b/scripts/remove @@ -100,7 +100,7 @@ fi #================================================= ynh_use_nodejs -npm uninstall -g typescript +npm uninstall -g ts-node ynh_remove_nodejs # Remove a cron file diff --git a/scripts/restore b/scripts/restore index b68f9d5..78622e9 100644 --- a/scripts/restore +++ b/scripts/restore @@ -93,7 +93,7 @@ chown -R root: $final_path ynh_install_nodejs 11 ynh_use_nodejs -npm install -g typescript +npm install -g ts-node #================================================= # RESTORE SYSTEMD diff --git a/scripts/upgrade b/scripts/upgrade index 8e0e7a0..aebc75f 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -112,7 +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. ### And create a backup of this file if the checksum is different. So the file will be backed up if the admin had modified it.