Skip to content

YC (S26) | Open Computer History | Continuously record your company computer work, map your workflows, help you find work worth automating, and power your agents' context

Fix nextjs error (#1059)

neo7737e8bb1aff859
diff --git a/screenpipe-app-tauri/src-tauri/Cargo.lock b/screenpipe-app-tauri/src-tauri/Cargo.lock
index c2c559c6d..c1427d056 100755
--- a/screenpipe-app-tauri/src-tauri/Cargo.lock
+++ b/screenpipe-app-tauri/src-tauri/Cargo.lock
@@ -4966,7 +4966,7 @@ dependencies = [
[[package]]
name = "screenpipe-app"
-version = "0.21.7"
+version = "0.21.8"
dependencies = [
"anyhow",
"axum",
diff --git a/screenpipe-core/src/pipes.rs b/screenpipe-core/src/pipes.rs
index 173f87315..f47ca2199 100644
--- a/screenpipe-core/src/pipes.rs
+++ b/screenpipe-core/src/pipes.rs
@@ -222,6 +222,7 @@ mod pipes {
debug!("starting next.js project with bun dev command");
let mut child = Command::new(&bun_path)
.arg("run")
+ .arg("--bun")
.arg("dev")
.arg("--port")
.arg(
@@ -255,6 +256,7 @@ mod pipes {
let mut child = Command::new(&bun_path)
.arg("run")
+ .arg("--bun")
.arg(&main_module)
.envs(env_vars)
.stdout(std::process::Stdio::piped())