From 6fbc4e0422073835a0cc0aad45cb52aec209cd2a Mon Sep 17 00:00:00 2001 From: "courtmanr@gmail.com" Date: Sun, 1 Jun 2025 23:37:05 +0100 Subject: [PATCH] fix: resolve auto-update npm permission errors and dependency installation issues MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude --- server/updateManager.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/updateManager.js b/server/updateManager.js index d24d180dc..dcf8d6b58 100644 --- a/server/updateManager.js +++ b/server/updateManager.js @@ -259,7 +259,7 @@ class UpdateManager { // Install dependencies console.log('[UpdateManager] Installing dependencies...'); - await execAsync(`cd "${pulseDir}" && npm ci --production`); + await execAsync(`cd "${pulseDir}" && rm -rf node_modules && npm install --omit=dev`); if (progressCallback) { progressCallback({ phase: 'apply', progress: 100 });