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

run.ps1 fails to run #193

Open
Sinan-Karakaya opened this issue Apr 10, 2024 · 1 comment
Open

run.ps1 fails to run #193

Sinan-Karakaya opened this issue Apr 10, 2024 · 1 comment

Comments

@Sinan-Karakaya
Copy link

Sinan-Karakaya commented Apr 10, 2024

Following the tutorial and executing the "Run PCSX2" tasks results in this:

The command "./run.ps1" is not recognized as a command etc...
+ CategoryInfo          : ObjectNotFound: (./run.ps1:String) [], CommandNotFoundException
    + FullyQualifiedErrorId : CommandNotFoundException
    + PSComputerName        : localhost

But executing it from the local terminal works fine. Changing the task command to:

"Start-Job -FilePath ./run.ps1 | Receive-Job -Wait"

Changes the error to:

Impossible de lier l'argument au paramètre « Path », car il s'agit d'une chaîne vide.
    + CategoryInfo          : InvalidData : (:) [Join-Path], ParameterBindingValidationException
    + FullyQualifiedErrorId : ParameterArgumentValidationErrorEmptyStringNotAllowed,Microsoft.PowerShell.Commands.JoinPathCommand
    + PSComputerName        : localhost

L’expression située après « . » dans un élément de pipeline a généré un objet non valide. Elle doit générer un nom de commande, un bloc de script ou un objet CommandInfo.
    + CategoryInfo          : InvalidOperation : (:) [], RuntimeException
    + FullyQualifiedErrorId : BadExpression
    + PSComputerName        : localhost

Le terme « RunPCSX2 » n'est pas reconnu comme nom d'applet de commande, fonction, fichier de script ou programme exécutable. Vérifiez l'orthographe du nom, ou si un chemin d'accès existe, vérifiez que le chemin d'accès est correct et réessayez.
    + CategoryInfo          : ObjectNotFound: (RunPCSX2:String) [], CommandNotFoundException
    + FullyQualifiedErrorId : CommandNotFoundException
    + PSComputerName        : localhost

Indicating that it manages to run the script that way, but doesn't find the $PSScriptRoot variable.

PCSX2: v1.7.5689
Tyra: Latest release

@GDQR
Copy link
Contributor

GDQR commented Apr 25, 2024

i had the first error, try update the powershell

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants