Timothy Jaeryang Baek 2 ay önce
ebeveyn
işleme
b329c63c80
1 değiştirilmiş dosya ile 1 ekleme ve 1 silme
  1. 1 1
      hatch_build.py

+ 1 - 1
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