From effaa681a9b6598fdafb126ccd85b6c721411d86 Mon Sep 17 00:00:00 2001 From: Alex <63423455+AlexMadera@users.noreply.github.com> Date: Fri, 2 Jan 2026 14:04:37 +0100 Subject: [PATCH] fix: Solve ladybug problem on running npm install all on windows (#576) * fix: Solve ladybug problem on running npm install all on windows * pushed package --- apps/frontend/package-lock.json | 4 ++-- scripts/install-backend.js | 5 +++-- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/apps/frontend/package-lock.json b/apps/frontend/package-lock.json index 9abc6c30..da97b639 100644 --- a/apps/frontend/package-lock.json +++ b/apps/frontend/package-lock.json @@ -1,12 +1,12 @@ { "name": "auto-claude-ui", - "version": "2.7.2-beta.12", + "version": "2.7.2", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "auto-claude-ui", - "version": "2.7.2-beta.12", + "version": "2.7.2", "hasInstallScript": true, "license": "AGPL-3.0", "dependencies": { diff --git a/scripts/install-backend.js b/scripts/install-backend.js index a90372b7..78548f2b 100644 --- a/scripts/install-backend.js +++ b/scripts/install-backend.js @@ -27,10 +27,11 @@ function run(cmd, options = {}) { } // Find Python 3.12+ +// Prefer 3.12 first since it has the most stable wheel support for native packages function findPython() { const candidates = isWindows - ? ['py -3.14', 'py -3.13', 'py -3.12', 'python3.14', 'python3.13', 'python3.12', 'python3', 'python'] - : ['python3.14', 'python3.13', 'python3.12', 'python3', 'python']; + ? ['py -3.12', 'py -3.13', 'py -3.14', 'python3.12', 'python3.13', 'python3.14', 'python3', 'python'] + : ['python3.12', 'python3.13', 'python3.14', 'python3', 'python']; for (const cmd of candidates) { try {