tauri-errors-build
Installation
SKILL.md
tauri-errors-build
Quick Diagnosis
When a Tauri 2 build fails, identify the phase first:
Build Pipeline Phases:
1. Frontend build (beforeBuildCommand) --> JS/TS errors
2. Cargo compile (rustc) --> Rust compilation errors
3. Bundler (NSIS/WiX/DMG/deb) --> Platform packaging errors
4. Code signing (codesign/signtool) --> Signing/notarization errors
ALWAYS read the FULL error output. The root cause is often buried above the final error message.
NEVER skip cargo clean when troubleshooting persistent compilation errors -- stale build artifacts cause phantom failures.
Related skills