feat: comprobar prerequisitos de toolchain antes de app:dev
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 55/100
- Issue type
- Feature
- Clarity
- Clearly specified
- Activity status
- Active
- Tech stack
- node.js, rust, tauri, typescript
- Domain
- build-system, developer-experience
Research direction
Start by reading package.json to see how app:dev and app:build are defined, then review the documented Tauri prerequisites in README.md, README.es.md, and CONTRIBUTING.md. Implement the proposed checks in scripts/preflight.mjs for Windows and wire them into both commands. Done means each missing prerequisite produces a nonzero exit with an actionable message and installation links.
Written by the indexing model from the issue text.
Description
Pre-flight checks
- Busqué en las issues existentes (estado all) y no encontré duplicados.
- Entiendo que esta propuesta requiere revisión de producto antes de implementarse.
Problem to solve
Un clon fresco en Windows sin toolchain de Rust hace fallar npm run app:dev con un error crudo del CLI de Tauri:
failed to run 'cargo metadata' command to get workspace directory:
failed to run command cargo metadata --no-deps --format-version 1: program not found
Los prerequisitos están documentados (README.md, README.es.md, CONTRIBUTING.md, todos con link a los prereqs de Tauri), pero nada los verifica antes de correr el comando. El error nunca menciona Rust ni el link de instalación, así que un contribuidor nuevo queda en un dead-end diagnosticando un problema de entorno solo.
Proposed solution
Un preflight liviano y sin dependencias (scripts/preflight.mjs) enganchado a app:dev/app:build que verifique en Windows:
- Node >= 22
cargoyrustcresolvibles en PATH (toolchain stable-msvc)- MSVC linker / VS Build Tools presentes
- WebView2 runtime disponible
Si falta algo: exit non-zero con un mensaje accionable por pieza, con los links de instalación (https://v2.tauri.app/start/prerequisites/ y https://rustup.rs).
Affected area
Build or tooling
Scope and non-goals
- Scope: solo detectar y reportar; envolver
app:devyapp:build. - Non-goals: auto-instalar Rust/VS Build Tools, modificar el PATH del usuario, cubrir CI (ya instala su propia toolchain) ni detección macOS/Linux (el target actual es Windows).
Alternatives considered
- Solo docs: ya está documentado en 3 lugares; quien se los salta igual muere en el mismo error críptico.
- Detectar tras el fallo del CLI de Tauri: string-matching frágil contra salida upstream, en vez de verificar los prerequisitos directo.
enginesen package.json: npm solo advierte por defecto y no puede expresar cargo/MSVC/WebView2.
- Dominant language
- TypeScript
- Stars
- 10
- Forks
- 2
- Avg merge
- 21m
- Merged PRs (30d)
- 52
Getting set up
This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from egdev6/quorb
-
fix(ui): corregir el enlace oficial de uso de ChatGPT/CodexMay be free again A pull request for this issue was closed without being merged. Openstatus:approved type:bug
Difficulty 1/5 Under an hour Newbie friendliness 70/100
egdev6/quorb#109 · 3 comments ·
Maintainers usually reply within 1 day
-
feat(widget): dockear al monitor principal por defecto y avisar si el widget queda en otro displayOpen
Difficulty 3/5 1-2 days Newbie friendliness 35/100
egdev6/quorb#113 · 2 comments ·
Maintainers usually reply within 1 day
-
odd type:feature
Difficulty 5/5 Over a week Newbie friendliness 15/100
Maintainers usually reply within 1 day
-
odd type:feature
Difficulty 4/5 3-5 days Newbie friendliness 15/100
Maintainers usually reply within 1 day
-
odd type:feature
Difficulty 4/5 3-5 days Newbie friendliness 25/100
Maintainers usually reply within 1 day
Similar issues
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
dsh-market/dsh-market#877 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
stellar/stellar-dev-skill#151 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
Maintainers usually reply within 1 day
-
area:arcade game ready-for-agent
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
fderuiter/deruiter.dev#2281 · 1 comment ·
Maintainers usually reply within 1 day
-
scope: data grid type: bug
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Maintainers usually reply within 2 days