mirror of
https://github.com/community-scripts/ProxmoxVE.git
synced 2026-07-22 05:42:53 +02:00
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.
This commit is contained in:
+1
-1
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user