i got error when launching #3117

Closed
opened 2026-12-02 11:44:51 +00:00 by jayavarunarun-ctrl · 2 comments
jayavarunarun-ctrl commented 2026-12-02 11:44:51 +00:00 (Migrated from github.com)
Contributor

Imported from ubiquitarianism/leonida. Originally posted by jayavarunarun-ctrl on 2026-12-02T11:44:51Z.


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
<!-- greyfinch-sync:ubiquitarianism/leonida:issue:6743933766 --> Imported from [ubiquitarianism/leonida](https://github.com/ProjectLeonida/mandy/issues/3117). Originally posted by [jayavarunarun-ctrl](https://github.com/jayavarunarun-ctrl) on 2026-12-02T11:44:51Z. --- ### 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 ```
MoonEyes commented 2026-12-02 21:20:09 +00:00 (Migrated from github.com)
Author
Contributor

Imported from ubiquitarianism/leonida. Originally posted by MoonEyes on 2026-12-02T21:20:09Z.


"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).

<!-- greyfinch-sync:ubiquitarianism/leonida:comment:7359133156 --> Imported from [ubiquitarianism/leonida](https://github.com/ProjectLeonida/mandy/issues/3117#issuecomment-7359133156). Originally posted by [MoonEyes](https://github.com/MoonEyes) on 2026-12-02T21:20:09Z. --- "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 commented 2026-12-03 14:21:19 +00:00 (Migrated from github.com)
Author
Contributor

Imported from ubiquitarianism/leonida. Originally posted by MoonEyes on 2026-12-03T14:21:19Z.


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).

<!-- greyfinch-sync:ubiquitarianism/leonida:comment:7381305843 --> Imported from [ubiquitarianism/leonida](https://github.com/ProjectLeonida/mandy/issues/3117#issuecomment-7381305843). Originally posted by [MoonEyes](https://github.com/MoonEyes) on 2026-12-03T14:21:19Z. --- 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).
Sign in to join this conversation.
No labels
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.

Reference
ProjectLeonida/mandy#3117
No description provided.