From 550159fc63a752ca3823749d7c415308eb3e236a Mon Sep 17 00:00:00 2001 From: Josh Knapp Date: Sun, 1 Mar 2026 17:44:03 -0800 Subject: [PATCH] Fix native binding error: use npm install instead of npm ci @tailwindcss/oxide has platform-specific native bindings. The package-lock.json was generated on a different platform, so npm ci installs the wrong native binary. Switching to rm -rf node_modules + npm install lets npm resolve the correct platform-specific optional dependency (e.g., @tailwindcss/oxide-linux-x64-gnu on Linux, oxide-darwin-arm64 on macOS). Co-Authored-By: Claude Opus 4.6 --- .gitea/workflows/build-app.yml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.gitea/workflows/build-app.yml b/.gitea/workflows/build-app.yml index 1e9ced9..b093403 100644 --- a/.gitea/workflows/build-app.yml +++ b/.gitea/workflows/build-app.yml @@ -87,7 +87,9 @@ jobs: - name: Install frontend dependencies working-directory: ./app - run: npm ci + run: | + rm -rf node_modules + npm install - name: Install Tauri CLI working-directory: ./app @@ -187,7 +189,9 @@ jobs: - name: Install frontend dependencies working-directory: ./app - run: npm ci + run: | + rm -rf node_modules + npm install - name: Install Tauri CLI working-directory: ./app