Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
KrzysztofZawisla opened this issue Nov 24, 2024 · 0 comments
Open

Comments

@KrzysztofZawisla
Copy link

KrzysztofZawisla commented Nov 24, 2024

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

@FabianLars FabianLars transferred this issue from tauri-apps/tauri Nov 24, 2024
@FabianLars FabianLars added the good first issue Good for newcomers label Nov 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants