summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorJake McDermott <yo@jakemcdermott.me>2021-05-12 19:20:13 +0200
committerJake McDermott <yo@jakemcdermott.me>2021-05-13 18:55:37 +0200
commitcd7c85490bd87978e3e41bc5c847f14e0f792c8d (patch)
tree8fa9d0d1c20015c84073c2562dbfc0379b381d54 /Makefile
parentUse npm ci as default package installation command (diff)
downloadawx-cd7c85490bd87978e3e41bc5c847f14e0f792c8d.tar.xz
awx-cd7c85490bd87978e3e41bc5c847f14e0f792c8d.zip
Handle and document potential memory limit issues
* Increase node memory limit * Add note to docs that you may need to increase container memory thresholds imposed by docker-for-mac and similar tools if you're using them
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 3bfd5ee02d..2b7b20afb2 100644
--- a/Makefile
+++ b/Makefile
@@ -387,7 +387,7 @@ clean-ui:
rm -rf $(UI_BUILD_FLAG_FILE)
awx/ui_next/node_modules:
- $(NPM_BIN) --prefix awx/ui_next --loglevel warn ci
+ NODE_OPTIONS=--max-old-space-size=4096 $(NPM_BIN) --prefix awx/ui_next --loglevel warn ci
$(UI_BUILD_FLAG_FILE):
$(NPM_BIN) --prefix awx/ui_next --loglevel warn run compile-strings