This commit is contained in:
eric
2026-05-28 15:59:03 -05:00
parent 1d89aa29e0
commit 08155500fc
47 changed files with 1126 additions and 122 deletions

View File

@@ -155,6 +155,7 @@ def _runtime_env(runtime: NodeRuntime, extra: dict[str, str] | None = None) -> d
path = env.get("PATH", "")
node_dir = str(runtime.node.parent)
env["PATH"] = f"{node_dir}{os.pathsep}{path}" if path else node_dir
env.setdefault("NEXT_TELEMETRY_DISABLED", "1")
if runtime.npm is not None:
env["npm_config_script_shell"] = env.get("npm_config_script_shell", "/bin/sh")
if extra: