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

On running ysc.exe get error Required Command Was Not Provided, unable to install #18

Closed
katie-powell opened this issue Sep 17, 2022 · 1 comment

Comments

@katie-powell
Copy link

katie-powell commented Sep 17, 2022

This may be related to ticket #2, but that ticket has no description so I can't tell for sure.

I downloaded the most recent version of YS-Console: ysc-win-2.2.0-6526114, extracted the zip but upon running the exe a command prompt flashes briefly with the message:
Required Command Was Not Provided

Furthermore, when I try to run ysc upgrade myFile.yarn in the folder containing myFile.yarn, I get the following error:

ysc : The term 'ysc' 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.
At line:1 char:1
+ ysc upgrade myFile.yarn
+ ~~~
    + CategoryInfo          : ObjectNotFound: (ysc:String) [], CommandNotFoundException
    + FullyQualifiedErrorId : CommandNotFoundException

I'm about to download an older version to see if that gives me the same result (maybe the most recent exe is broken?) but in the meantime - is there a solution for this error?

EDIT: 2.1.0 and 2.0.2 are giving me the same error.

EDIT 2: Here's my current environment, if that helps.

 Version:   5.0.412
 Commit:    805c28eb1f

Runtime Environment:
 OS Name:     Windows
 OS Version:  10.0.19044
 OS Platform: Windows
 RID:         win10-x64
 Base Path:   C:\Program Files\dotnet\sdk\5.0.412\

global.json file:
  Not found

Host:
  Version:      6.0.9
  Architecture: x64
  Commit:       163a63591c

.NET SDKs installed:
  3.1.423 [C:\Program Files\dotnet\sdk]
  5.0.104 [C:\Program Files\dotnet\sdk]
  5.0.303 [C:\Program Files\dotnet\sdk]
  5.0.412 [C:\Program Files\dotnet\sdk]

Thanks!

@katie-powell
Copy link
Author

My solution to the issue was to place ysc.exe in the same folder as my yarn files and run
ysc upgrade myFile,yarn
from the CommandPrompt.

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

1 participant