Timothy Jaeryang Baek 2 달 전
부모
커밋
b329c63c80
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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