Skip to content

fix: use project-local Tauri CLI and validate Node version - #250

Open
yxr-2025 wants to merge 1 commit into
appergb:mainfrom
yxr-2025:fix/project-local-tauri-cli
Open

yxr-2025 wants to merge 1 commit into
appergb:mainfrom
yxr-2025:fix/project-local-tauri-cli

Conversation

@yxr-2025

@yxr-2025 yxr-2025 commented Nov 16, 2026 •

Copy link
Copy Markdown

Closes #225

New contributors following the quick start could hit a missing global cargo-tauri command or run Vite under unsupported Node 20.17. Add project-local Tauri dev/build entry points and update the English, Chinese, Japanese and developer documentation.

  • Use pnpm --dir web tauri dev / tauri build with the locked local CLI, running from src-tauri.
  • Declare the locked Vite/Vitest Node range: ^20.19.0 || ^22.12.0 || >=24.0.0.
  • Enforce engines during pnpm 10 installation and explicitly check Node before every frontend/desktop script, including already-installed dependencies and pnpm versions that only warn.

Validation on Windows with Node 24.12.0 and pnpm 10.11.0:

  • Frozen-lockfile install, TypeScript/Vite production build, and all 1,466 frontend tests passed.
  • Local Tauri CLI reports 2.11.3; dev --help and info resolve the project configuration.
  • Actual Node 20.17.0 is rejected with required/current versions and upgrade instructions; 14 version boundary cases passed.
  • Documentation audit: 409 Markdown files, 1,905 local links, zero errors (retained historical missing-evidence notices remain).
  • git diff --check passed; lockfile unchanged.

Native Windows startup verified on 2026-11-16 (Asia/Shanghai), at PR commit 915f61c:

  • Environment: Windows x64 (OS build 26200), Rust/Cargo 1.100.0, x86_64-pc-windows-msvc, LLVM/libclang 21.1.8, CMake 3.31.6-msvc6, Node 24.12.0, existing VS 2022 C++ Build Tools and WebView2 157.
  • Rust MSVC compile/link/run smoke passed; cargo build -p whisper-rs-sys --locked passed.
  • The repository provisioner installed the pinned FFmpeg/FFprobe 6.1.1 sidecars; its --verify-only check passed SHA-256, version and redistributable-license checks for both binaries.
  • pnpm --dir web tauri dev --no-watch completed the native dev build and launched opentake.exe. Windows UI inspection confirmed the real OpenTake welcome window and Home page with New/Open Project controls.

Compatibility note: LLVM 23 reproduced the locked bindgen 0.71.1 incompatibility with LLVM 22+; selecting libclang 21.1.8 fixed the generated FFI layout and the same failing whisper build passed. See upstream bindgen issue #3264.

Validation scope: native development startup. Windows installer/bundle creation, playback/export and macOS/Linux native execution have not been validated in this session.

@yxr-2025
yxr-2025 requested a review from appergb as a code owner November 16, 2026 08:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

docs(windows): document project-local Tauri CLI and supported Node version

1 participant