From 4b8fa395bf5a038dee5fafa41be61c73232a4731 Mon Sep 17 00:00:00 2001 From: MickLesk <47820557+MickLesk@users.noreply.github.com> Date: Sat, 3 Oct 2026 20:38:20 +0200 Subject: [PATCH] frigate: raise the Node heap for the web build --- install/frigate-install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install/frigate-install.sh b/install/frigate-install.sh index fe92e6641..c8488c379 100644 --- a/install/frigate-install.sh +++ b/install/frigate-install.sh @@ -236,7 +236,7 @@ $STD bash /opt/frigate/.devcontainer/initialize.sh $STD make version cd /opt/frigate/web $STD npm install -$STD npm run build +NODE_OPTIONS="--max-old-space-size=4096" $STD npm run build mv /opt/frigate/web/dist/BASE_PATH/monacoeditorwork/* /opt/frigate/web/dist/assets/ rm -rf /opt/frigate/web/dist/BASE_PATH cp -r /opt/frigate/web/dist/* /opt/frigate/web/