fix(windows): improve fnm Node path discovery

This commit is contained in:
Kwensiu
2026-04-16 00:45:15 +08:00
parent 189399e5cf
commit 2f59d900fb
2 changed files with 19 additions and 4 deletions

View File

@@ -16,6 +16,7 @@ async fn main() {
return;
}
codeg_lib::process::ensure_node_in_path();
codeg_lib::process::ensure_user_npm_prefix_in_path();
let port: u16 = std::env::var("CODEG_PORT")