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 <noreply@anthropic.com>
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user