From b329c63c80ff092e7894b1f4769c4d9a73668a35 Mon Sep 17 00:00:00 2001 From: Timothy Jaeryang Baek Date: Sat, 19 Jul 2025 23:17:14 +0400 Subject: [PATCH] refac --- hatch_build.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hatch_build.py b/hatch_build.py index 8ddaf0749..28aad1b6c 100644 --- a/hatch_build.py +++ b/hatch_build.py @@ -17,7 +17,7 @@ class CustomBuildHook(BuildHookInterface): "NodeJS `npm` is required for building Open Webui but it was not found" ) stderr.write("### npm install\n") - subprocess.run([npm, "install"], check=True) # noqa: S603 + subprocess.run([npm, "install", "--force"], check=True) # noqa: S603 stderr.write("\n### npm run build\n") os.environ["APP_BUILD_HASH"] = version subprocess.run([npm, "run", "build"], check=True) # noqa: S603