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/