From 5fd87d139e0f7be937635ae66ffabd4deb205a8d Mon Sep 17 00:00:00 2001 From: einhornimmond Date: Wed, 4 Sep 2024 11:47:35 +0200 Subject: [PATCH] add line to clear also ~/.cache/yarn --- deployment/bare_metal/start.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/deployment/bare_metal/start.sh b/deployment/bare_metal/start.sh index 634f60c97..12f9f71d0 100755 --- a/deployment/bare_metal/start.sh +++ b/deployment/bare_metal/start.sh @@ -140,6 +140,8 @@ envsubst "$(env | sed -e 's/=.*//' -e 's/^/\$/g')" < $NGINX_CONFIG_DIR/$TEMPLATE # Clean tmp folder - remove yarn files find /tmp -name "yarn--*" -exec rm -r {} \; +# Clean user cache folder +rm -Rf ~/.cache/yarn # Remove node_modules folders # we had problems with corrupted node_modules folder