From 506ec61b1adcc160654da63da1bc489351efbf45 Mon Sep 17 00:00:00 2001 From: Lendemor Date: Tue, 21 Jan 2025 17:27:32 +0100 Subject: [PATCH] fix stuff --- reflex/utils/path_ops.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/reflex/utils/path_ops.py b/reflex/utils/path_ops.py index d1e39fd6a..b447718d2 100644 --- a/reflex/utils/path_ops.py +++ b/reflex/utils/path_ops.py @@ -183,7 +183,7 @@ def get_npm_path() -> Path | None: npm_path = Path(constants.Node.NPM_PATH) if use_system_node() or not npm_path.exists(): system_npm_path = which("npm") - npm_path = Path(system_npm_path).parent.resolve() if system_npm_path else None + npm_path = Path(system_npm_path) if system_npm_path else None return npm_path.absolute() if npm_path else None