From 418e8927acacd14d208ef9e3f56c4d4135fce2ec Mon Sep 17 00:00:00 2001 From: Alfredo Gallardo Date: Mon, 23 Sep 2024 17:19:34 -0300 Subject: [PATCH] - fix: failed to spawn shinkai-node (#452) * - fix: failed to spawn when retry spawn method * - cicd: version bump --- .../process_handlers/shinkai_node_process_handler.rs | 2 +- package-lock.json | 4 ++-- package.json | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/apps/shinkai-desktop/src-tauri/src/local_shinkai_node/process_handlers/shinkai_node_process_handler.rs b/apps/shinkai-desktop/src-tauri/src/local_shinkai_node/process_handlers/shinkai_node_process_handler.rs index 93edb12e6..d199773a3 100644 --- a/apps/shinkai-desktop/src-tauri/src/local_shinkai_node/process_handlers/shinkai_node_process_handler.rs +++ b/apps/shinkai-desktop/src-tauri/src/local_shinkai_node/process_handlers/shinkai_node_process_handler.rs @@ -138,7 +138,7 @@ impl ShinkaiNodeProcessHandler { } pub async fn spawn(&self) -> Result<(), String> { - let _ = self.kill_existing_processes_using_ports().await; + let _ = self.kill().await; let env = options_to_env(&self.options.clone()); self.process_handler.spawn(env, [].to_vec(), None).await?; diff --git a/package-lock.json b/package-lock.json index 3fbf2a399..8f6523533 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@shinkai/source", - "version": "0.8.6", + "version": "0.8.7", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@shinkai/source", - "version": "0.8.6", + "version": "0.8.7", "hasInstallScript": true, "license": "SEE LICENSE IN LICENSE", "dependencies": { diff --git a/package.json b/package.json index 29893b32b..651f296c0 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@shinkai/source", - "version": "0.8.6", + "version": "0.8.7", "license": "SEE LICENSE IN LICENSE", "files": [ "LICENSE"