From 464fa283ad38298f29f18899ba4c7acc7b3413a1 Mon Sep 17 00:00:00 2001 From: CanbiZ <47820557+MickLesk@users.noreply.github.com> Date: Sun, 29 Dec 2024 12:40:24 +0100 Subject: [PATCH] add node_options --- install/grist-install.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/install/grist-install.sh b/install/grist-install.sh index 18fcfbdc1..4604655c7 100644 --- a/install/grist-install.sh +++ b/install/grist-install.sh @@ -36,6 +36,8 @@ msg_ok "Installed Node.js" msg_info "Installing Grist" RELEASE=$(curl -s https://api.github.com/repos/gristlabs/grist-core/releases/latest | grep "tag_name" | awk '{print substr($2, 3, length($2)-4) }') +export CYPRESS_INSTALL_BINARY=0 +export NODE_OPTIONS="--max-old-space-size=2048" cd /opt wget -q https://github.com/gristlabs/grist-core/archive/refs/tags/v${RELEASE}.zip unzip -q v$RELEASE.zip