From 8ad06f7364f398573b9386041e3c5495a4695abe Mon Sep 17 00:00:00 2001 From: "Misha M.-Kupriyanov" Date: Mon, 7 Jul 2025 11:10:21 +0200 Subject: [PATCH] ci(Makefile): build_nextcloud: increase npm build memory size in order to avoid: FATAL ERROR: Reached heap limit Allocation failed - JavaScript heap out of memory Signed-off-by: Misha M.-Kupriyanov --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index a77eccf..fdebe81 100644 --- a/Makefile +++ b/Makefile @@ -40,7 +40,7 @@ build_nextcloud_vue: ## Build custom nextcloud vue build_nextcloud: build_mdi_svg build_mdi_js build_vue_icons_package build_nextcloud_vue ## Build Nextcloud composer install --no-dev -o && \ npm ci && \ - npm run build + NODE_OPTIONS="--max-old-space-size=4096" npm run build build_dep_simplesettings_app: ## Install and build simplesettings app cd apps-custom/simplesettings && \