open-webui: remove --legacy-peer-deps

bits-ui v2.16.3 declares @internationalized/date as a peer dependency.
With --legacy-peer-deps, npm uses v6 behaviour and skips installing
peer deps entirely, so the package was absent from node_modules.
This commit is contained in:
Alex Martens
2026-05-22 19:31:03 -07:00
parent f83fc3c307
commit be3620d19f

View File

@@ -32,11 +32,7 @@ let
npmDepsHash = "sha256-kAUbFAFNo5RHMGqO7sPHSxSEZw9Ky6Pxp/vddDyw90E=";
# See https://github.com/open-webui/open-webui/issues/15880
npmFlags = [
"--force"
"--legacy-peer-deps"
];
npmFlags = [ "--force" ];
# Disabling `pyodide:fetch` as it downloads packages during `buildPhase`
# Until this is solved, running python packages from the browser will not work.