Skip to content

Commit ce69732

Browse files
printminion-cotanyaka
authored andcommitted
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 <[email protected]>
1 parent a92d327 commit ce69732

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ build_nextcloud_vue: ## Build custom nextcloud vue
4040
build_nextcloud: build_mdi_svg build_mdi_js build_vue_icons_package build_nextcloud_vue ## Build Nextcloud
4141
composer install --no-dev -o && \
4242
npm ci && \
43-
npm run build
43+
NODE_OPTIONS="--max-old-space-size=4096" npm run build
4444

4545
build_dep_simplesettings_app: ## Install and build simplesettings app
4646
cd apps-custom/simplesettings && \

0 commit comments

Comments
 (0)