mirror of
				https://github.com/community-scripts/ProxmoxVE.git
				synced 2025-11-04 10:22:50 +00:00 
			
		
		
		
	add node_options
This commit is contained in:
		@@ -36,6 +36,8 @@ msg_ok "Installed Node.js"
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
msg_info "Installing Grist"
 | 
					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) }')
 | 
					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
 | 
					cd /opt
 | 
				
			||||||
wget -q https://github.com/gristlabs/grist-core/archive/refs/tags/v${RELEASE}.zip
 | 
					wget -q https://github.com/gristlabs/grist-core/archive/refs/tags/v${RELEASE}.zip
 | 
				
			||||||
unzip -q v$RELEASE.zip
 | 
					unzip -q v$RELEASE.zip
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user