i got error when launching #3117

Closed
opened 2026-12-02 11:49:17 +00:00 by github-bot · 2 comments
Owner

@⁠jayavarunarun-ctrl on GitHub · 2026-12-02 11:44 UTC · original

What happens

Exited with code 1.

Commit

powershell -NoProfile -ExecutionPolicy Bypass -File D:\mandy-main\mandy-main\scripts\play-d3d12.ps1 -Game "D:\gta vi\GTA6.Xbox.v1.0.2.1-CYBERLEEK" Building with DLSS (SDK: D:\mandy-main\mandy-main\d3d12\nvidia-sdk\DLSS) D:\mandy-main\mandy-main\scripts\play-d3d12.ps1 : The term 'cargo' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again. + CategoryInfo : ObjectNotFound: (cargo:String) [play-d3d12.ps1], CommandNotFoundException + FullyQualifiedErrorId : CommandNotFoundException,play-d3d12.ps1 Exited with code 1.

System

r7 5800x 32gb ram rtx 3060ti

Where

Finding the game (--find)

Command and steps

powershell -NoProfile -ExecutionPolicy Bypass -File D:\mandy-main\mandy-main\scripts\play-d3d12.ps1 -Game "D:\gta vi\GTA6.Xbox.v1.0.2.1-CYBERLEEK"
Building with DLSS (SDK: D:\mandy-main\mandy-main\d3d12\nvidia-sdk\DLSS)
D:\mandy-main\mandy-main\scripts\play-d3d12.ps1 : The term 'cargo' is not recognized as the name of a cmdlet,

function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the

path is correct and try again.

+ CategoryInfo          : ObjectNotFound: (cargo:String) [play-d3d12.ps1], CommandNotFoundException

+ FullyQualifiedErrorId : CommandNotFoundException,play-d3d12.ps1

Exited with code 1.

Output

i got no output
**@⁠jayavarunarun-ctrl** on GitHub · 2026-12-02 11:44 UTC · [original](https://github.com/ProjectLeonida/mandy/issues/3117) ### What happens Exited with code 1. ### Commit > powershell -NoProfile -ExecutionPolicy Bypass -File D:\mandy-main\mandy-main\scripts\play-d3d12.ps1 -Game "D:\gta vi\GTA6.Xbox.v1.0.2.1-CYBERLEEK" Building with DLSS (SDK: D:\mandy-main\mandy-main\d3d12\nvidia-sdk\DLSS) D:\mandy-main\mandy-main\scripts\play-d3d12.ps1 : The term 'cargo' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again. + CategoryInfo : ObjectNotFound: (cargo:String) [play-d3d12.ps1], CommandNotFoundException + FullyQualifiedErrorId : CommandNotFoundException,play-d3d12.ps1 Exited with code 1. ### System r7 5800x 32gb ram rtx 3060ti ### Where Finding the game (--find) ### Command and steps > powershell -NoProfile -ExecutionPolicy Bypass -File D:\mandy-main\mandy-main\scripts\play-d3d12.ps1 -Game "D:\gta vi\GTA6.Xbox.v1.0.2.1-CYBERLEEK" Building with DLSS (SDK: D:\mandy-main\mandy-main\d3d12\nvidia-sdk\DLSS) D:\mandy-main\mandy-main\scripts\play-d3d12.ps1 : The term 'cargo' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again. + CategoryInfo : ObjectNotFound: (cargo:String) [play-d3d12.ps1], CommandNotFoundException + FullyQualifiedErrorId : CommandNotFoundException,play-d3d12.ps1 Exited with code 1. ### Output ```text i got no output ```
github-bot locked as GitHub sync and limited conversation to collaborators 2026-12-02 11:49:17 +00:00
Author
Owner

@⁠MoonEyes on GitHub · 2026-12-02 21:20 UTC · original

"The term 'cargo' is not recognized" means the Rust toolchain is not installed, or not on PATH, when d3d12/scripts/build-nvidia.ps1 runs cargo build. Install it with winget install Rustlang.Rustup (or from https://rustup.rs), open a new terminal, check that cargo --version prints a version, then run the launcher again. If it still fails after that, please post the full output.

AI-assisted (Claude Code).

**@⁠MoonEyes** on GitHub · 2026-12-02 21:20 UTC · [original](https://github.com/ProjectLeonida/mandy/issues/3117#issuecomment-7359133156) "The term 'cargo' is not recognized" means the Rust toolchain is not installed, or not on PATH, when `d3d12/scripts/build-nvidia.ps1` runs `cargo build`. Install it with `winget install Rustlang.Rustup` (or from https://rustup.rs), open a new terminal, check that `cargo --version` prints a version, then run the launcher again. If it still fails after that, please post the full output. AI-assisted (Claude Code).
Author
Owner

@⁠MoonEyes on GitHub · 2026-12-03 14:21 UTC · original

Seen 5 times in the public error channel on 2026-12-03. Cause: Rust is not installed, or was installed in a window opened before rustup changed PATH; d3d12/scripts/build-nvidia.ps1 calls cargo without checking. A fix that would cover both: before the build, if cargo is not on PATH, add %USERPROFILE%\.cargo\bin when cargo.exe is there, otherwise stop with "Rust is not installed: install it from https://rustup.rs with the default options, then start the launcher again". Assigned to the launcher's maintainer. AI-assisted (Claude Code).

**@⁠MoonEyes** on GitHub · 2026-12-03 14:21 UTC · [original](https://github.com/ProjectLeonida/mandy/issues/3117#issuecomment-7381305843) Seen 5 times in the public error channel on 2026-12-03. Cause: Rust is not installed, or was installed in a window opened before rustup changed PATH; `d3d12/scripts/build-nvidia.ps1` calls `cargo` without checking. A fix that would cover both: before the build, if `cargo` is not on PATH, add `%USERPROFILE%\.cargo\bin` when `cargo.exe` is there, otherwise stop with "Rust is not installed: install it from https://rustup.rs with the default options, then start the launcher again". Assigned to the launcher's maintainer. AI-assisted (Claude Code).
This discussion has been locked. Commenting is limited to contributors.
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
github/ubiquitarianism--leonida#3117
No description provided.