From fe94c03c4f46da532b549755504cc14d7ee15e1d Mon Sep 17 00:00:00 2001 From: MickLesk Date: Tue, 21 Jul 2026 22:54:52 +0200 Subject: [PATCH] Fix Nametag update failing with missing tailwindcss module npm ci during update ran with devDependencies omitted, likely because NODE_ENV=production was already present in the environment by then (npm's documented default: omit=dev when NODE_ENV=production). Since @tailwindcss/postcss is a devDependency, the subsequent `npm run build` failed with "Cannot find module '@tailwindcss/postcss'". Force devDeps to be installed regardless of NODE_ENV via --include=dev. --- ct/nametag.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ct/nametag.sh b/ct/nametag.sh index b20f3f01b..01fa08b45 100644 --- a/ct/nametag.sh +++ b/ct/nametag.sh @@ -43,7 +43,7 @@ function update_script() { msg_info "Rebuilding Application" cd /opt/nametag - $STD npm ci + $STD npm ci --include=dev set -a source /opt/nametag/.env set +a