Skip to content

[bug] Wrongly displayed command after pnpm create tauri-app #849

@KrzysztofZawisla

Description

@KrzysztofZawisla

Describe the bug

After creating an app with the pnpm create tauri-app some information are displayed about missing dependencies in PATH. Command for Tauri CLI is not a valid command for a CMD console on Windows. It shouldn't be wrapped into ' characters
image

Reproduction

  1. Uninstall tauri-cli, trunk, and wasm32-unknown-unknown target
  2. Open CMD
  3. Paste pnpm create tauri-app
  4. Press enter

Expected behavior

The row with Tauri CLI should display in the CMD command as that: cargo install tauri-cli --version ^2.0.0 --locked

Full tauri info output

[✔] Environment
    - OS: Windows 10.0.22631 x86_64 (X64)
    ✔ WebView2: 131.0.2903.63
    ✔ MSVC: Visual Studio Community 2022
    ✔ rustc: 1.84.0-nightly (df4ca44d3 2024-10-27)
    ✔ cargo: 1.84.0-nightly (e75214ea4 2024-10-25)
    ✔ rustup: 1.27.1 (54dd3d00f 2024-04-24)
    ✔ Rust toolchain: nightly-x86_64-pc-windows-msvc (environment override by RUSTUP_TOOLCHAIN)
    - node: 22.11.0
    - pnpm: 9.13.2
    - yarn: 1.22.22
    - npm: 10.9.0
    - bun: 1.1.33

[-] Packages
    - tauri 🦀: 2.1.1
    - tauri-build 🦀: 2.0.3
    - wry 🦀: 0.47.2
    - tao 🦀: 0.30.8
    - tauri-cli 🦀: 2.0.0
    - @tauri-apps/api : not installed!
    - @tauri-apps/cli : 2.0.0 (outdated, latest: 2.1.0)

[-] Plugins
    - tauri-plugin-shell 🦀: 2.0.2
    - @tauri-apps/plugin-shell : not installed!

[-] App
    - build-type: bundle
    - CSP: unset
    - frontendDist: ../dist
    - devUrl: http://localhost:1420/

Stack trace

No response

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions