Fix Windows build: explicitly install rollup and esbuild native bindings
Some checks failed
Build App / build-windows (push) Failing after 18s
Build App / build-linux (push) Has been cancelled

npm's optional dependency resolution fails to install the Windows
platform-specific native bindings. Install them explicitly.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-02-27 07:56:59 -08:00
parent dd6e63bbf6
commit 3f96c45d9e

View File

@@ -123,6 +123,7 @@ jobs:
if exist node_modules rmdir /s /q node_modules
if exist package-lock.json del package-lock.json
npm install
npm install @rollup/rollup-win32-x64-msvc @esbuild/win32-x64 --no-save
- name: Build frontend
working-directory: ./app