From b8724ca763a9e8fdd08c22301d4e113eb654c02b Mon Sep 17 00:00:00 2001 From: Julien Pivotto Date: Thu, 9 Jun 2022 15:11:45 +0200 Subject: [PATCH] Fix UI build (#10842) Signed-off-by: Julien Pivotto --- web/ui/build_ui.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/web/ui/build_ui.sh b/web/ui/build_ui.sh index 59ed81136..d395fc0ec 100644 --- a/web/ui/build_ui.sh +++ b/web/ui/build_ui.sh @@ -15,6 +15,10 @@ set -e current=$(pwd) +if ! [[ -w $HOME ]] +then + export npm_config_cache=$(mktemp -d) +fi buildOrder=(module/lezer-promql module/codemirror-promql)