Fix Windows build: remove lockfile before npm install
Some checks failed
Build App / build-windows (push) Failing after 28s
Build App / build-linux (push) Has been cancelled

The lockfile was generated on Linux and doesn't include Windows
platform-specific optional deps (rollup, esbuild, etc). Delete
package-lock.json and node_modules so npm resolves fresh.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-02-27 07:50:20 -08:00
parent 03fb832fa2
commit 439c84ed13

View File

@@ -119,6 +119,8 @@ jobs:
working-directory: ./app
run: |
set "PATH=%USERPROFILE%\.cargo\bin;C:\Program Files\nodejs;%PATH%"
if exist node_modules rmdir /s /q node_modules
if exist package-lock.json del package-lock.json
npm install
- name: Build Tauri app