From f4f53ece4d28d6bfbe15721429c029ac33f66842 Mon Sep 17 00:00:00 2001 From: Brad Hubbard Date: Tue, 27 Oct 2020 10:37:15 +1000 Subject: [PATCH] make-dist: Don't prompt while running 'npm ci' Prompting for input while in the background results in SIGTTOU being sent and npm hanging forever. Signed-off-by: Brad Hubbard --- make-dist | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/make-dist b/make-dist index 2904e63a915..b0eb74e75c3 100755 --- a/make-dist +++ b/make-dist @@ -78,7 +78,7 @@ build_dashboard_frontend() { cd src/pybind/mgr/dashboard/frontend . $TEMP_DIR/bin/activate - timeout 1h npm ci + NG_CLI_ANALYTICS=false timeout 1h npm ci echo "Building ceph-dashboard frontend with build:localize script"; # we need to use "--" because so that "--prod" survives accross all # scripts redirections inside package.json -- 2.39.5